I enabled the automatic login on Login SDDM. Now kwallet keeps asking for my password when the system starts.

I enabled the automatic login on Login SDDM

But now, every time I start my computer, kwallet asks for my password.

I kinda enabled the automatic login to not have to type my password, this kinda defeats the purpose of it @_@

12 points · 7 comments · view on lemmy.world

7 Comments

vivien@lsbt.me · 5 pts · 1y (4 replies)

@bimbimboy I think it's needed because kwallet does no longer get the password from the login via a PAM module, so it has no way to unlock the wallet that's encrypted with your password anymore.

bimbimboy@lemm.ee · -8 pts · 1y (3 replies)

I see. I asked DeepSeek for some help, it suggested using kwallet-pam to fix it. Do you think it's the recommended approach?

vivien@lsbt.me · 6 pts · 1y

@bimbimboy I don't think that would solve the problem. KWallet-PAM would be the way it gets the password from the login manager. PAM is the pluggable authentication modules framework, where you can plug in a module to do stuff during authentication, so kwallet inserts itself into the login process to read the password and unlock your wallet.

According to the arch linux wiki on KWallet: "When using autologin, the wallet can only be unlocked if the autologin method saves the password. pam_autologin does, for example." https://wiki.archlinux.org/title/KDE/_Wallet maybe there is a way then.

firelizzard@programming.dev · 2 pts · 1y

Your options are:

  1. Go back to logging in
  2. Remove the password from kwallet
  3. Store the password on disk somewhere so it can be auto unlocked

AFAIK there are no other options

carl@kde.social · 1 pts · 1y

@bimbimboy @vivien yes you need kwallet-pan if it's not installed already

baduhai@sopuli.xyz · 4 pts · 1y

If you remove your kwallet password, it should stop asking you for a password, it's the only solution I've found to this problem. But that also means you're removing the password of your kwallet.

Tundra@lemmy.ml · 2 pts · 1y

When you choose this option in the settings, a tooltip pops up, explaining that you need to create an empty password for your Kwallet to prevent typing it in each time.

I would only recommend this if your OS is encrypted.