You are not logged in.
Pages: 1
Hello,
I am facing the issue that KWallet is not being unlocked on tty login. Of course, I followed the instructions in the Arch Wiki modifying /etc/pam.d/login as needed.
The file looks as follows:
#%PAM-1.0
auth required pam_securetty.so
auth requisite pam_nologin.so
auth include system-local-login
auth optional pam_kwallet5.so
account include system-local-login
session include system-local-login
session optional pam_kwallet5.so auto_start force_run
I added the force_run parameter because of the following log entry:
pam_kwallet5(login:session): pam_kwallet5: not a graphical session, skipping. Use force_run parameter to ignore this.
Unfortunately, KWallet still does not unlock on login.
The logs state:
Mär 06 18:24:27 T450 login[1737]: pam_kwallet5: final socket path: /run/user/1000/kwallet5.socket
Mär 06 18:24:27 T450 login[1737]: pam_kwallet5-kwalletd: Couldn't listen in socket
Mär 06 18:24:27 T450 login[1733]: pam_kwallet5(login:session): pam_kwallet5: Couldn't fork to execv kwalletd
Mär 06 18:24:27 T450 audit[1733]: USER_START pid=1733 uid=0 auid=1000 ses=3 msg='op=PAM:session_open grantors=pam_loginuid,pam_keyinit,pam_limits,pam_unix,pam_permit,pam_mail,pam_systemd,pam_env,pam_kwallet5 acct="tim" exe="/usr/bin/login" hostname=T450 addr=? terminal=tty1 res=success'
Mär 06 18:24:27 T450 login[1733]: pam_kwallet5(login:setcred): pam_kwallet5: pam_sm_setcred
Mär 06 18:24:27 T450 kernel: audit: type=1105 audit(1583515467.757:70): pid=1733 uid=0 auid=1000 ses=3 msg='op=PAM:session_open grantors=pam_loginuid,pam_keyinit,pam_limits,pam_unix,pam_permit,pam_mail,pam_systemd,pam_env,pam_kwallet5 acct="tim" exe="/usr/bin/login" hostname=T450 addr=? terminal=tty1 res=success'
Unlocking KWallet through SDDM works. (I added my fix to ArchWiki a couple days ago)
Is there a way to get this working?
Offline
I got it working applying the patches s/b posted at KDE's bugtracker: https://bugs.kde.org/show_bug.cgi?id=400929#c6
Offline
I got it working applying the patches s/b posted at KDE's bugtracker: https://bugs.kde.org/show_bug.cgi?id=400929#c6
Thanks! This really works for me!
Offline
Pages: 1