You are not logged in.
Hi there,
I finally able to use kmail, but like Evolution and other PIM are asking the password to start to imap service.
I suppose that, for a kind of convenience, it's possible to automate the permission to do that service, by a polkit rule.
But I'm not familiar to write such rule and I hardly figure which process starts the akonadi imap service after user login.
I followed the wiki and modified my files, but no success. Probably there's the fact that I use autologin by getty, so the pam rule may not have effect.
Further searching has led me to an improvement, but no success.
$ sudo journalctl -b 0 | grep pam_kwallet
feb 14 12:13:20 ArchFulvio login[579]: pam_kwallet5(login:setcred): pam_kwallet5: pam_sm_setcred
feb 14 12:13:21 ArchFulvio login[579]: pam_kwallet5(login:session): pam_kwallet5: pam_sm_open_session
feb 14 12:13:21 ArchFulvio login[579]: pam_kwallet5(login:session): pam_kwallet5: open_session called without kwallet5_key
feb 14 12:13:21 ArchFulvio login[579]: pam_kwallet5(login:setcred): pam_kwallet5: pam_sm_setcred
$ cat /etc/pam.d/login
#%PAM-1.0
auth requisite pam_nologin.so
auth include system-local-login
# modified 14-02-25
auth optional pam_kwallet5.so
account include system-local-login
session include system-local-login
# modified 14-02-25
session optional pam_kwallet5.so auto_start force_run
password include system-local-login
$ cat /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
$ pacman -Q | grep -i kwallet
kwallet 6.10.0-1
kwallet-pam 6.2.5-1
kwalletmanager 24.12.2-1
signon-kwallet-extension 24.12.2-1Following this page I reduced the error, then I don't know how to pass kwallet5_key, yet.
Last edited by TheSaint (2025-02-14 04:34:34)
do it good first, it will be faster than do it twice the saint ![]()
Offline