You are not logged in.
Pages: 1
Topic closed
I'm trying to confirm that both lxdm and lightdm do not properly establish a systemd session upon login. Thanks to tomegun in this thread for the detective work. In short, if you both use systemd and login graphically with EITHER lxdm or lightdm, please post the output of:
$ 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.
Last edited by graysky (2012-06-24 14:59:31)
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
Same for me with lightdm. I set "gdm" as the greeter user, just to be sure. (there are some workarounds in consolekit specifically for a user named "gdm")
active = TRUE
is-local = TRUE
----
SESSION UID USER SEAT
0 sessions listed.
Last edited by progandy (2012-06-24 12:50:46)
| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |
Offline
Me too with lightdm:
$ ck-list-sessions | grep TRUE
active = TRUE
is-local = TRUE
$ loginctl
SESSION UID USER SEAT
0 sessions listed.
Offline
OK.. thanks all. Not just me.
Bug reports filed:
Lightdm: https://bugs.launchpad.net/lightdm/+bug/1017126
LXDM: https://sourceforge.net/tracker/?func=d … tid=894869
Last edited by graysky (2012-06-24 14:28:51)
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
Yep, same here with lxdm. I just switched to SLIM, and that seems to work fine:
[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 ~]$
Last edited by bwat47 (2012-06-24 15:12:47)
Offline
FYI, adding
session required pam_systemd.so
to /etc/pam.d/lxdm fixes this for lxdm.
Last edited by bwat47 (2012-06-26 02:34:26)
Offline
FYI, adding
session optional pam_systemd.so
to /etc/pam.d/lxdm fixes this for lxdm.
BRILLIANT! Thank you. I updated the wiki.
Last edited by graysky (2012-06-27 00:31:30)
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
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?
| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |
Offline
Already did.
https://bugs.archlinux.org/task/30453
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
Hello, I have a problem when I connect multi-user on xfce session with lxdm. loginctl commande return me only one session (the first connected). Full description of my bug here :
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?
Offline
@lesebas
This thread is over a year old and already marked as [SOLVED]. Please repost your problem in a new thread. Please read our forum etiquette as well.
Closing...
My Arch Linux Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone
Offline
Pages: 1
Topic closed