You are not logged in.

#1 2018-11-23 04:34:18

Hamsterkill
Member
Registered: 2009-05-05
Posts: 67

PAM, display managers, and plasma-wayland

So right now I seem to be having some weird issues with the Plasma on Wayland.

When I use SDDM, kwallet gets unlocked automatically, however, gnome-keyring-daemon doesn't start despite having added the necessary lines into /etc/pam.d/sddm.
However, when starting the Plasma session on X, gnome-keyring-daemon does start automatically and the keyring is unlocked kwallet continues to work the same as in the Wayland Plasma session.

When I try to use LightDM, the gnome-keyring-daemon still doesn't start under the Plasma Wayland session, but does start and unlock under the Plasma X session using the same config files. However, I can't seem to get kwallet to automatically unlock despite adding the necessary lines to /etc/pam.d/lightdm.

Any ideas for why this could be happening? I'm rather stumped as to how gnome-keyring-daemon could starting properly for the X session, but not for the Wayland one as it should still just be using PAM the same way, should it not?

Offline

#2 2018-11-23 05:11:12

Hamsterkill
Member
Registered: 2009-05-05
Posts: 67

Re: PAM, display managers, and plasma-wayland

Here's my pam config files for reference:

/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 /etc/pam.d/lightdm:

#%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
session     include     system-login
-session    optional    pam_gnome_keyring.so auto_start
-session    optional    pam_kwallet5.so autostart

Offline

Board footer

Powered by FluxBB