Using LeiOS

Troubleshooting

Something isn't working? Find your problem below. If it isn't listed or the fix doesn't help, ask on Discord or report a bug.

Problems with the USB stick and the installer are covered in Booting and Secure Boot and Installation.

LeiOS doesn't start

Secure Boot error

If your computer reports a Secure Boot Violation or Invalid signature, it only trusts Windows. Allow the third-party certificate or turn Secure Boot off, as described in Booting and Secure Boot.

Black screen after booting

A black screen or a freeze right after the boot menu is usually a graphics driver problem, most often with NVIDIA cards. Start once with nomodeset:

  1. In the LeiOS boot menu, select LeiOS GNU/Linux and press E. (If you don't see the menu, hold Shift or press Esc right after your computer's logo appears.)
  2. Find the line that starts with linux and add nomodeset at its end.
  3. Press Ctrl + X or F10 to start.

This change only applies to this one start. Once LeiOS is running, install the right driver, see NVIDIA graphics.

It stopped starting after an update

The boot menu keeps the previous kernel as a fallback. In the boot menu, choose Advanced options for LeiOS GNU/Linux and pick the entry with the older kernel version. If that works, install updates again (a fix may already be there) and report the problem.

The computer starts Windows instead of LeiOS

Windows updates sometimes move Windows Boot Manager to the top of the boot order. Open your firmware setup and move leios or LeiOS to the top. See Dual Boot.

Updates fail

"Could not get lock" or "Waiting for cache lock"

Another program is installing packages, usually Discover or an automatic update check. Wait a few minutes and try again. Don't delete lock files.

An update was interrupted

If the computer lost power or crashed during an update, finish the update in Konsole:

sudo dpkg --configure -a
sudo apt --fix-broken install
sudo apt full-upgrade

"The following signatures couldn't be verified" or "NO_PUBKEY"

The LeiOS signing key is missing or damaged. Restore it as described in Package Management.

Discover shows an error

Discover sometimes hides the real reason. Run the update in Konsole to see it:

sudo apt update
sudo apt full-upgrade

If the output names a repository you added yourself, remove that repository from /etc/apt/sources.list.d/ and try again.

Apps

Discover shows no apps from Flathub or the Snap Store

The first time Discover opens, it downloads the app catalogs; give it a minute and check your internet connection. If Flathub apps still don't appear, check that Flathub is set up:

flatpak remotes

If flathub isn't listed (for example on a system that was installed from an older LeiOS image), add it and reopen Discover:

sudo flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo

If Snap apps are missing, check that the Snap service runs with snap version. It prints a snapd version when everything is fine.

A Flatpak app can't see my files or devices

Flatpak apps run in a sandbox. Open System Settings, search for Flatpak, and give the app access to the folder or device it needs.

An app has frozen

Close it with Alt + F4. If that doesn't work, open System Monitor with Ctrl + Esc, select the app and click End Process. For a frozen window you can also press Ctrl + Alt + Esc and click it.

Network and sound

Wi-Fi doesn't work

Check Airplane mode and your laptop's Wi-Fi key, then see Hardware and Drivers for missing firmware.

No sound

  1. Click the volume icon in the system tray, make sure nothing is muted, and choose the right output device (speakers, headphones or HDMI).
  2. If that doesn't help, restart the sound system:
    systemctl --user restart pipewire pipewire-pulse wireplumber
    

The clock is wrong

If the time is off by exactly one or two hours, and you also use Windows on the same computer, see Dual Boot. Otherwise, check System Settings → Date & Time: turn on Set date and time automatically and choose your time zone.

The disk is full

See Free up disk space.

I forgot my password

If you have a second account with administrator rights, log in there and reset the password in System Settings → Users. Otherwise, reset it from the boot menu:

  1. In the LeiOS boot menu, select LeiOS GNU/Linux and press E.
  2. In the line that starts with linux, add init=/bin/bash at its end, then press Ctrl + X. If your disk is encrypted, enter the disk passphrase.
  3. At the # prompt, run these commands, replacing yourname with your login name:
    mount -o remount,rw /
    passwd yourname
    sync
    reboot -f
    

LeiOS starts normally, and you log in with the new password.

Your KDE Wallet, where Wi-Fi and app passwords are stored, uses your old password. After logging in, open KWalletManager and change its password, or create a new wallet.

Still stuck?

  • Search for your problem together with Debian 13 or KDE Plasma. LeiOS is Debian underneath, so most Debian and KDE answers apply.
  • Ask on Discord.
  • Report a bug if something in LeiOS is broken.