Kwallet not unlocking (SDDM + plasma + LUKS + autologin)

Hi :slight_smile:
Problem: kwallet does not auto-unlock on boot
My Setting:

  • Default EOS install (plasma + sddm)
  • wallet uses blowfish encryption and the passwords are all equal: LUKS = user = kwallet (I see no way to check that the LUKS prompt on boot actually uses my swiss keyboard)
  • autologin (user in group autologin)

pam_autologin should store the password correctly.
But I do not know how to configure it correctly without my system breaking. Shouldn’t this be the default if autologin is enabled?

# /etc/sddm.conf                      
[Autologin]
User=lukas
Session=plasma
# /etc/pam.d/login                    
#%PAM-1.0

auth       requisite    pam_nologin.so
auth       include      system-local-login
account    include      system-local-login
session    include      system-local-login
password   include      system-local-login

You configure like this: https://wiki.archlinux.org/title/Pam_autologin#Installation. The article includes an example for /etc/pam.d/login.

Another option is to set an empty Kwallet-password as described here: https://wiki.archlinux.org/title/KDE_Wallet#Unlock_KDE_Wallet_automatically_on_login

Tip: An alternative is to use KWalletManager and set an empty Kwallet-password, thus preventing the need of entering a password to unlock a wallet. Simply do not enter a password on both fields in Change Password... This may however lead to unwanted (read/write) access to the user’s wallet. Enabling Prompt when an application accesses a wallet under Access Control is highly recommended to prevent unwanted access to the wallet.