You are not logged in.
I have been using both KDE Plasma 6.0 and 6.1 and I am trying to get KDE Wallet to auto unlock while also having auto login enabled in sddm. If I set the wallet password to the same as my user password it will auto open when I am logging in manually with my password. However, I understand that having auto login enabled makes it impossible to auto open a password protected wallet.
The solution that I have found on ArchWiki and other places is to set a blank password for ‘kdewallet’ using KWalletManager. This does not seem to work for me. Even though I have set a blank password for ‘kdewallet’, the wallet won’t auto open when using auto login (or when logging in manually for that matter).
How can I have auto login enabled with sddm and get KDE Wallet to auto unlock?
Jun 22 08:50:12 archlinux sddm-helper[338]: pam_kwallet5(sddm-autologin:auth): pam_kwallet5: pam_sm_authenticate
Jun 22 08:50:12 archlinux sddm-helper[338]: pam_kwallet5(sddm-autologin:auth): pam_kwallet5: Couldn't get password (it is empty)
Jun 22 08:50:12 archlinux sddm-helper[338]: pam_kwallet5(sddm-autologin:auth): pam_kwallet5: Empty or missing password, doing nothing
Jun 22 08:50:12 archlinux sddm-helper[338]: pam_kwallet5(sddm-autologin:setcred): pam_kwallet5: pam_sm_setcred
Jun 22 08:50:13 archlinux sddm-helper[338]: pam_kwallet5(sddm-autologin:session): pam_kwallet5: pam_sm_open_session
Jun 22 08:50:13 archlinux sddm-helper[338]: pam_kwallet5(sddm-autologin:session): pam_kwallet5: open_session called without kwallet5_key
Jun 22 08:50:27 archlinux systemd[343]: Started Unlock kwallet from pam credentials.
Jun 22 08:50:30 archlinux xdg-desktop-por[383]: Choosing kwallet.portal for org.freedesktop.impl.portal.Secret via the deprecated UseIn key
Offline
See this
* Did you configure /etc/pam.d/sddm accordingly? Can you attach the output here?
* Good formatted problem description will cause good and quick solution
* Please don't forget to mark as [SOLVED].
Offline
I'm also having an issue with kwallet, but interestingly with a reversed phenomenon than @sausge's. It works fine if I set `kdewallet` password to be blank; but it does not unlock automatically when I set the `kdewallet` password to be the same as login password. I followed the instructions. To make sure, I also deleted and re-created the `kdewallet` with blowfish encryption.
Here's my /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
And I don't see error in log as well:
Jun 27 09:37:10 taot-t14 sddm-helper[769]: [PAM] Starting...
Jun 27 09:37:10 taot-t14 sddm-helper[769]: [PAM] Authenticating...
Jun 27 09:37:10 taot-t14 sddm-helper[769]: [PAM] returning.
Jun 27 09:37:10 taot-t14 sddm-helper[769]: pam_unix(sddm-greeter:session): session opened for user sddm(uid=972) by (uid=0)
Jun 27 09:37:10 taot-t14 sddm-helper[769]: pam_systemd(sddm-greeter:session): New sd-bus connection (system-bus-pam-systemd-769) opened.
Jun 27 09:37:10 taot-t14 sddm-helper[769]: Writing cookie to "/tmp/xauth_jiavYy"
Jun 27 09:37:10 taot-t14 sddm-helper[769]: Starting X11 session: "" "/usr/bin/sddm-greeter-qt6 --socket /tmp/sddm-:0-AOrQqQ --theme /usr/share/sddm/themes/breeze"
Jun 27 09:37:18 taot-t14 sddm-helper[821]: [PAM] Starting...
Jun 27 09:37:18 taot-t14 sddm-helper[821]: [PAM] Authenticating...
Jun 27 09:37:18 taot-t14 sddm-helper[821]: pam_systemd_home(sddm:auth): New sd-bus connection (system-bus-pam-systemd-home-821) opened.
Jun 27 09:37:18 taot-t14 sddm-helper[821]: [PAM] Preparing to converse...
Jun 27 09:37:18 taot-t14 sddm-helper[821]: [PAM] Conversation with 1 messages
Jun 27 09:37:18 taot-t14 sddm-helper[821]: [PAM] returning.
Jun 27 09:37:18 taot-t14 sddm-helper[821]: pam_unix(sddm:session): session opened for user taot(uid=1000) by taot(uid=0)
Jun 27 09:37:18 taot-t14 sddm-helper[821]: pam_systemd(sddm:session): New sd-bus connection (system-bus-pam-systemd-821) opened.
Jun 27 09:37:18 taot-t14 sddm-helper[769]: [PAM] Closing session
Jun 27 09:37:18 taot-t14 sddm-helper[769]: pam_unix(sddm-greeter:session): session closed for user sddm
Jun 27 09:37:18 taot-t14 sddm-helper[769]: pam_systemd(sddm-greeter:session): New sd-bus connection (system-bus-pam-systemd-769) opened.
Jun 27 09:37:18 taot-t14 sddm-helper[769]: [PAM] Ended.
Jun 27 09:37:18 taot-t14 sddm[751]: Auth: sddm-helper exited successfully
Jun 27 09:37:18 taot-t14 sddm-helper[821]: Starting Wayland user session: "/usr/share/sddm/scripts/wayland-session" "/usr/lib/plasma-dbus-run-session-if-needed /usr/bin/startplasma-wayland"
Jun 27 09:37:18 taot-t14 sddm-helper[839]: Jumping to VT 1
Jun 27 09:37:18 taot-t14 sddm-helper[839]: VT mode didn't need to be fixed
Offline