You are not logged in.

#1 2022-05-11 09:40:02

Zzz_243
Member
Registered: 2022-05-01
Posts: 10

KDE Wallet auto unlock

I'd like to auto unlock KDE Wallet without inputing a password everytime. I added the required lines as stated here https://wiki.archlinux.org/title/KDE_Wallet but it still asks for password at login.

Offline

#2 2022-05-11 11:11:37

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,017

Re: KDE Wallet auto unlock

How are you logging in? This isn't going to work if you don't directly boot into the graphical session. Also, your user password and the wallet password need to be identical, otherwise the PAM modules can't do anything with the password you pass to PAM

Last edited by V1del (2022-05-11 11:11:53)

Offline

#3 2022-05-11 23:10:30

fukawi2
Ex-Administratorino
From: .vic.au
Registered: 2007-09-28
Posts: 6,237
Website

Re: KDE Wallet auto unlock

Mod Note: Not SA; Moving to Desktop Environments.

Offline

#4 2022-05-15 10:03:48

Zzz_243
Member
Registered: 2022-05-01
Posts: 10

Re: KDE Wallet auto unlock

V1del wrote:

How are you logging in? This isn't going to work if you don't directly boot into the graphical session. Also, your user password and the wallet password need to be identical, otherwise the PAM modules can't do anything with the password you pass to PAM

I use autologin with SDDM. The passwords are the same.

fukawi2 wrote:

Mod Note: Not SA; Moving to Desktop Environments.

Sorry, I wasn't sure about the correct subforum.

Offline

#5 2022-05-15 17:45:04

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,017

Re: KDE Wallet auto unlock

Post the output of

sudo journalctl -b

(FWIW this works perfectly fine here)

Offline

#6 2022-05-16 11:45:04

Zzz_243
Member
Registered: 2022-05-01
Posts: 10

Re: KDE Wallet auto unlock

V1del wrote:

Post the output of

sudo journalctl -b

(FWIW this works perfectly fine here)

It's too long, should I post all the output? I saw these lines among all the stuff:

mag 16 13:32:47 archlinux.localhost sddm-helper[422]: [PAM] Starting...
mag 16 13:32:47 archlinux.localhost sddm-helper[422]: [PAM] Authenticating...
mag 16 13:32:47 archlinux.localhost sddm-helper[422]: pam_kwallet5(sddm-autologin:auth): pam_kwallet5: pam_sm_authenticate
mag 16 13:32:47 archlinux.localhost sddm-helper[422]: pam_kwallet5(sddm-autologin:auth): pam_kwallet5: Couldn't get password (it is empty)

BTW, it was working out fine before a recent update (a couple of months ago I think).

Last edited by Zzz_243 (2022-05-16 11:45:37)

Offline

#7 2022-05-16 12:41:25

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,017

Re: KDE Wallet auto unlock

You have auto-login enabled, since you do not type a password there's no password to give to KWallet so it can only unlock after you explicitly give one. Either disable auto login, live with the kwallet password prompt, or remove your kwallet password entirely, making it effectively open.

Offline

#8 2022-05-30 08:37:08

Zzz_243
Member
Registered: 2022-05-01
Posts: 10

Re: KDE Wallet auto unlock

V1del wrote:

You have auto-login enabled, since you do not type a password there's no password to give to KWallet so it can only unlock after you explicitly give one. Either disable auto login, live with the kwallet password prompt, or remove your kwallet password entirely, making it effectively open.

Ok, thanks. But then, why was working ok without asking for password before one of the recent updates?

Offline

#9 2022-05-30 15:08:39

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,017

Re: KDE Wallet auto unlock

It shouldn't and has as far as I know never worked that way. Did you just recently add an application to your autostart that plain requests this earlier? Otherwise random guessing won't get us anywhere, the best bet unless you can actively reproduce is get a journal log of a time frame you are sure it worked at, assuming you still have logs that go back that far.

Offline

Board footer

Powered by FluxBB