You are not logged in.
Hi,
I'm using KDEWallet. I've only created one wallet named kdewallet which uses blowfish encryption. I've followed the instructions here for sddm: https://wiki.archlinux.org/index.php/KDE_Wallet.
KDEWallet still doesn't automatically unlock when I login. Is this a bug or something I'm missing?
Thanks
Offline
Since you haven't posted any of the relevant files or information, it's hard to tell if you've missed something.
Which DM, how do the verbatim files look that you adjusted now? Did you make sure your kwallet password is the same as your login password?
It works here with SDDM.
Offline
I'm using SDDM and KDE.
> pacman -Qs kwallet-pam
local/kwallet-pam 5.11.5-1 (plasma)
KWallet PAM integration
> cat /etc/pam.d/sddm
#%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
Note the instructions state:
if you are not using SDDM, edit your login manager pam file and add the lines under their corresponding sections:
Which implies you don't need to change the pam config if using SDDM, however auto-unlocking doesn't seem to work with or without those kwallet lines in /etc/pam.d/sddm
Lastly My user account password and kde wallet password are identical.
Last edited by mrpringle (2018-01-06 11:34:22)
Offline
Looks alright.
Does
journalctl -b | grep kwallet
give us any information here? Is it really not opening or do you have it e.g. configured to close after x amount of seconds or after "the last application" accessed it, and the relevant event only happens after it is already closed again?
Offline
That does have some information
> journalctl -b | grep kwallet
Jan 06 23:58:05 ablack-nb sddm-helper[536]: pam_kwallet5(sddm:auth): (null): pam_sm_authenticate
Jan 06 23:58:05 ablack-nb sddm-helper[536]: pam_kwallet5(sddm:setcred): pam_kwallet5: pam_sm_setcred
Jan 06 23:58:05 ablack-nb sddm-helper[536]: pam_kwallet5(sddm:session): pam_kwallet5: pam_sm_open_session
Jan 06 23:58:05 ablack-nb sddm-helper[536]: pam_kwallet5(sddm:session): pam_kwallet5: final socket path: /run/user/1000/kwallet5.socket
Jan 06 23:58:07 ablack-nb ksmserver[619]: ksmserver: Starting autostart service "/etc/xdg/autostart/pam_kwallet_init.desktop"
Jan 06 23:58:08 ablack-nb kwalletd5[554]: Wallet failed to get opened by PAM, error code is -9
Jan 06 23:58:08 ablack-nb ksmserver[619]: ksmserver: autostart service ("/usr/lib/pam_kwallet_init") finished with exit code 0
Jan 07 00:00:21 ablack-nb kwalletmanager5[2022]: Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
Jan 07 00:00:23 ablack-nb kactivitymanagerd[618]: Creating the cache for: "applications:org.kde.kwalletmanager5.desktop"
Jan 07 00:00:23 ablack-nb kactivitymanagerd[618]: ResourceScoreUpdated: "9772c828-4c53-4275-876f-8ded77d3cd91" "org.kde.krunner" "applications:org.kde.kwalletmanager5.desktop"
Jan 07 00:00:49 ablack-nb kwalletd5[554]: Application ' "Google Chrome" ' using kwallet without parent window!
I don't have the wallet configured to close under any circumstances. Also this happens if I try and open KWallet straight after I login.
I'll see if I can find anything regarding the error code tomorrow.
Last edited by mrpringle (2018-01-06 13:05:51)
Offline