You are not logged in.

#1 2021-06-17 13:20:19

pisauraxtx
Member
Registered: 2021-05-15
Posts: 30

Password prompt for KWallet after every login

Hello everyone.
I'm using Arch with KDE Plasma. Every time I boot my computer and log in, I get prompted to put in my password for the KWallet password manager.
This behavior is unexpected and undesirable because the password wallet should be opened automatically on login. Compare this to the behavior on my laptop (different distro with KDE): It is set to login automatically after booting and the wallet is opened automatically without entering the password. Both systems use the exact same settings for KWallet and have the same related packages installed.

I also followed the instructions on the wiki to no avail. So what do I have to do to get the KDE password wallet to open automatically after login?

This issue has been discussed on this forum before (See here, but no conclusive solution has been found.

/etc/pam.d/sddm

#%PAM-1.0

auth		include		system-login
-auth		optional	pam_gnome_keyring.so
auth   optional  pam_kwallet5.so

account		include		system-login

password	include		system-login
-password	optional	pam_gnome_keyring.so use_authtok

session		optional	pam_keyinit.so force revoke
session		include		system-login
-session		optional	pam_gnome_keyring.so auto_start
session  optional  pam_kwallet5.so auto_start

journalctl -b | grep kwallet

Jun 17 11:54:45 hostname sddm-helper[1010]: pam_kwallet5(sddm:auth): (null): pam_sm_authenticate
Jun 17 11:54:45 hostname sddm-helper[1010]: pam_kwallet5(sddm:setcred): pam_kwallet5: pam_sm_setcred
Jun 17 11:54:45 hostname sddm-helper[1010]: pam_kwallet5(sddm:session): pam_kwallet5: pam_sm_open_session
Jun 17 11:54:45 hostname audit[1010]: USER_START pid=1010 uid=0 auid=1000 ses=2 msg='op=PAM:session_open grantors=pam_keyinit,pam_loginuid,pam_keyinit,pam_limits,pam_unix,pam_permit,pam_mail,pam_systemd,pam_env,pam_kwallet5 acct="username" exe="/usr/lib/sddm/sddm-helper" hostname=? addr=? terminal=:0 res=success'
Jun 17 11:54:45 hostname sddm-helper[1023]: pam_kwallet5: final socket path: /run/user/1000/kwallet5.socket
Jun 17 11:54:45 hostname dbus-daemon[1034]: [session uid=1000 pid=1034] Activating service name='org.kde.kwalletd5' requested by ':1.8' (uid=1000 pid=1077 comm="/usr/bin/kded5 ")
Jun 17 11:54:46 hostname dbus-daemon[1034]: [session uid=1000 pid=1034] Successfully activated service 'org.kde.kwalletd5'
Jun 17 11:54:46 hostname kwalletd5[1141]: Application ' "kded5" ' using kwallet without parent window!
Jun 17 11:54:46 hostname plasma_session[1057]: org.kde.plasma.session: Starting autostart service  "/etc/xdg/autostart/pam_kwallet_init.desktop" ("/usr/lib/pam_kwallet_init")
Jun 17 11:54:46 hostname sddm[1024]: kwalletd5: Checking for pam module
Jun 17 11:54:46 hostname sddm[1024]: kwalletd5: Got pam-login param
Jun 17 11:54:46 hostname sddm[1024]: kwalletd5: Waiting for hash on 7-
Jun 17 11:54:46 hostname sddm[1024]: kwalletd5: waitingForEnvironment on: 8
Jun 17 11:54:46 hostname sddm[1024]: kwalletd5: client connected
Jun 17 11:54:46 hostname sddm[1024]: kwalletd5: client disconnected

(I replaced my actual username and hostname with "username" and "hostname" respectively)

Offline

Board footer

Powered by FluxBB