You are not logged in.
Pages: 1
Topic closed
I want KDE Wallet to automatically unlock on login so I followed the instructions from the wiki but I can't make it work, each time I login the KDE Wallet password prompts appears and I have to unlock it manually.
Login and wallet passwords are the same, the name of the wallet is kdewallet, encrypted with blowfish, I'm logging in manually and I've recreated the original wallet.
I'm running Plasma with SDDM, this is my /etc/pam.d/sddm and it seems at it should says the wiki.
#%PAM-1.0
auth include system-login
auth optional pam_kwallet5.so
account include system-login
password include system-login
session include system-login
session optional pam_kwallet5.so auto_start
This is journalctl -b | grep kwallet as last login.
Jul 28 20:39:17 alienXPS kwalletd5[1224]: The X11 connection broke (error 1). Did the X11 server die?
Jul 28 20:39:39 alienXPS dbus-daemon[971]: [session uid=1000 pid=971] Activating service name='org.kde.kwalletd5' requested by ':1.63' (uid=1000 pid=2947 comm="kded5 [kdeinit5] ")
Jul 28 20:39:39 alienXPS dbus-daemon[971]: [session uid=1000 pid=971] Successfully activated service 'org.kde.kwalletd5'
Jul 28 20:39:39 alienXPS kwalletd5[3088]: Application ' "kded5" ' using kwallet without parent window!
Jul 28 20:39:39 alienXPS dbus-daemon[971]: [session uid=1000 pid=971] Activating service name='org.kde.kwalletd' requested by ':1.83' (uid=1000 pid=3088 comm="/usr/bin/kwalle
td5 ")
Jul 28 20:39:39 alienXPS dbus-daemon[971]: [session uid=1000 pid=971] Activated service 'org.kde.kwalletd' failed: Failed to execute program org.kde.kwalletd: No such file or
directory
What am I doing wrong?
Offline
Same problem here, it always worked but since about january 2020 it stopped working. I'm on Arch+kde+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
feb 29 09:33:27 asus sddm-helper[1203]: pam_kwallet5(sddm:auth): (null): pam_sm_authenticate
feb 29 09:33:28 asus sddm-helper[1203]: pam_kwallet5(sddm:setcred): pam_kwallet5: pam_sm_setcred
feb 29 09:33:29 asus audit[1203]: USER_START pid=1203 uid=0 auid=1000 ses=1 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'
feb 29 09:33:29 asus sddm-helper[1203]: pam_kwallet5(sddm:session): pam_kwallet5: pam_sm_open_session
feb 29 09:33:29 asus sddm-helper[1216]: pam_kwallet5: final socket path: /run/user/1000/kwallet5.socket
feb 29 09:33:40 asus dbus-daemon[1223]: [session uid=1000 pid=1223] Activating service name='org.kde.kwalletd5' requested by ':1.6' (uid=1000 pid=1245 comm="kded5 ")
feb 29 09:33:40 asus dbus-daemon[1223]: [session uid=1000 pid=1223] Successfully activated service 'org.kde.kwalletd5'
feb 29 09:33:42 asus kwalletd5[1291]: Application ' "kded5" ' using kwallet without parent window!
feb 29 09:33:44 asus sddm[1217]: kwalletd5: Checking for pam module
feb 29 09:33:44 asus sddm[1217]: kwalletd5: Got pam-login param
feb 29 09:33:44 asus sddm[1217]: kwalletd5: Waiting for hash on 7-
feb 29 09:33:44 asus sddm[1217]: kwalletd5: waitingForEnvironment on: 3
feb 29 09:33:44 asus sddm[1217]: kwalletd5: client connected
feb 29 09:33:44 asus sddm[1217]: kwalletd5: client disconnected
feb 29 09:33:43 asus plasma_session[1295]: org.kde.plasma.session: Starting autostart service "/etc/xdg/autostart/pam_kwallet_init.desktop" ("/usr/lib/pam_kwallet_init")
feb 29 09:33:52 asus plasmashell[1303]: org.kde.plasma: invalid metadata "/usr/lib/qt/plugins/kcm_kwallet5.so"
Offline
I have 2 systems with this issue, one on Arch and the other is Manjaro
Offline
Exactly the same issue as traviscthall, arch and manjaro having the issue.
I ended with the empty password, which I don't like that much as a solution
EDIT : not exactly true actually : happened every time ton Manjaro, sometimes in Arch. On Arch I still live with the "time to time" and enter the password.
Manjaro is my secondary laptop I don't use a lot but updated today and tried to fix this annoying issue.
Last edited by Temet (2020-04-05 17:21:37)
Offline
Same problem here. Plasma + SDDM
Offline
Less +1s and more logs and diagnostics, please.
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
/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
abr 17 16:17:57 nnenb sddm-helper[592]: pam_kwallet5(sddm:auth): (null): pam_sm_authenticate
abr 17 16:17:57 nnenb sddm-helper[592]: pam_kwallet5(sddm:setcred): pam_kwallet5: pam_sm_setcred
abr 17 16:17:57 nnenb kernel: audit: type=1105 audit(1587154677.528:56): pid=592 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="nne" exe="/usr/lib/sddm/sddm-helper" hostname=? addr=? terminal=:0 res=success'
abr 17 16:17:57 nnenb audit[592]: USER_START pid=592 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="nne" exe="/usr/lib/sddm/sddm-helper" hostname=? addr=? terminal=:0 res=success'
abr 17 16:17:57 nnenb sddm-helper[592]: pam_kwallet5(sddm:session): pam_kwallet5: pam_sm_open_session
abr 17 16:17:57 nnenb sddm-helper[602]: pam_kwallet5: final socket path: /run/user/1000/kwallet5.socket
abr 17 16:17:59 nnenb dbus-daemon[609]: [session uid=1000 pid=609] Activating service name='org.kde.kwalletd5' requested by ':1.5' (uid=1000 pid=631 comm="kded5 ")
abr 17 16:17:59 nnenb kwalletd5[674]: Icon theme "gnome" not found.
abr 17 16:17:59 nnenb kwalletd5[674]: Icon theme "ubuntu-mono-dark" not found.
abr 17 16:17:59 nnenb kwalletd5[674]: Icon theme "Mint-X" not found.
abr 17 16:17:59 nnenb kwalletd5[674]: Icon theme "elementary" not found.
abr 17 16:17:59 nnenb kwalletd5[674]: Icon theme "gnome" not found.
abr 17 16:17:59 nnenb dbus-daemon[609]: [session uid=1000 pid=609] Successfully activated service 'org.kde.kwalletd5'
abr 17 16:17:59 nnenb plasma_session[666]: org.kde.plasma.session: Starting autostart service "/etc/xdg/autostart/pam_kwallet_init.desktop" ("/usr/lib/pam_kwallet_init")
abr 17 16:18:00 nnenb kwalletd5[603]: Icon theme "gnome" not found.
abr 17 16:18:00 nnenb kwalletd5[603]: Icon theme "ubuntu-mono-dark" not found.
abr 17 16:18:00 nnenb kwalletd5[603]: Icon theme "Mint-X" not found.
abr 17 16:18:00 nnenb kwalletd5[603]: Icon theme "elementary" not found.
abr 17 16:18:00 nnenb kwalletd5[603]: Icon theme "gnome" not found.
abr 17 16:18:00 nnenb kwalletd5[674]: Application ' "kded5" ' using kwallet without parent window!
abr 17 16:18:00 nnenb sddm[603]: kwalletd5: Checking for pam module
abr 17 16:18:00 nnenb sddm[603]: kwalletd5: Got pam-login param
abr 17 16:18:00 nnenb sddm[603]: kwalletd5: Waiting for hash on 7-
abr 17 16:18:00 nnenb sddm[603]: kwalletd5: waitingForEnvironment on: 3
abr 17 16:18:00 nnenb sddm[603]: kwalletd5: client connected
abr 17 16:18:00 nnenb sddm[603]: kwalletd5: client disconnected
Offline
Since kwallet 5.70.0 it now works 2 times out of 3.
Offline
I have had the same problem ever since I first installed Arch on this computer.
/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
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
Pages: 1
Topic closed