Closing...
]]>starting xfce session from lxdm properly (systemd-logind support).
I've modify my /etc/pam.d/lxdm from
#%PAM-1.0
auth requisite pam_nologin.so
auth required pam_env.so
auth required pam_unix.so
account required pam_unix.so
session required pam_limits.so
session required pam_unix.so
password required pam_unix.so
-session optional pam_loginuid.so
-session optional pam_systemd.so
to
#%PAM-1.0
auth requisite pam_nologin.so
auth required pam_env.so
auth required pam_unix.so
account required pam_unix.so
session required pam_limits.so
session required pam_unix.so
password required pam_unix.so
session required pam_loginuid.so
session required pam_systemd.so
But it doesn't work better... any idea?
]]>bwat47 wrote:FYI, adding
session required pam_systemd.so
to /etc/pam.d/lxdm fixes this for lxdm.
BRILLIANT! Thank you. I updated the wiki.
I suppose the following line could be added to the default config and shouldn't cause problems if systemd is not installed:
-session optional pam_systemd.so
By the way, is there any reason lightdm and lxdm don't include pam.d/login in their PAM configuration?
]]>FYI, adding
session optional pam_systemd.so
to /etc/pam.d/lxdm fixes this for lxdm.
BRILLIANT! Thank you. I updated the wiki.
]]>session required pam_systemd.so
to /etc/pam.d/lxdm fixes this for lxdm.
]]>[brandon@brandon-linux ~]$ ck-list-sessions | grep TRUE active = TRUE
is-local = TRUE
[brandon@brandon-linux ~]$ loginctl
SESSION UID USER SEAT
1 1000 brandon seat0
1 sessions listed.
[brandon@brandon-linux ~]$
Bug reports filed:
Lightdm: https://bugs.launchpad.net/lightdm/+bug/1017126
LXDM: https://sourceforge.net/tracker/?func=d … tid=894869
$ ck-list-sessions | grep TRUE
active = TRUE
is-local = TRUE
$ loginctl
SESSION UID USER SEAT
0 sessions listed.
]]> active = TRUE
is-local = TRUE
----
SESSION UID USER SEAT
0 sessions listed.
$ ck-list-sessions | grep TRUE
$ loginctl
For me, logging in with lxdm or lightdm, the result is:
$ ck-list-sessions | grep TRUE
active = TRUE
is-local = TRUE
$ loginctl
SESSION UID USER SEAT
0 sessions listed.
So lxdm or lightdm are not establishing systemd sessions correctly... if I log in with gdm, the results for the `loginctl` are different:
$ loginctl
SESSION UID USER SEAT
9 1000 facade seat0
1 sessions listed.