FS#50521 - [lightdm] Can't start wayland session other than weston
Attached to Project:
Arch Linux
Opened by Alif (alive4ever) - Friday, 26 August 2016, 07:24 GMT
Last edited by Buggy McBugFace (bugbot) - Saturday, 25 November 2023, 20:15 GMT
Opened by Alif (alive4ever) - Friday, 26 August 2016, 07:24 GMT
Last edited by Buggy McBugFace (bugbot) - Saturday, 25 November 2023, 20:15 GMT
|
Details
Description:
Wayland session other than weston can't be started [1]. Additional info: * package version(s): lightdm 1:1.18.3-1 * config and/or log files etc.: attached Steps to reproduce: Install lightdm and lightdm greeter (xorg-server, xf86-video-*, and xorg-server-xwayland is needed) Install weston and sway Enable lightdm.service From lightdm greeter, choose sway session. You'll be thrown back to lightdm greeter. Additional note: It seems that lightdm tried to launch Xsession wrapper for wayland session. [1] https://bbs.archlinux.org/viewtopic.php?id=210653 |
This task depends upon
Closed by Buggy McBugFace (bugbot)
Saturday, 25 November 2023, 20:15 GMT
Reason for closing: Moved
Additional comments about closing: https://gitlab.archlinux.org/archlinux/p ackaging/packages/lightdm/issues/1
Saturday, 25 November 2023, 20:15 GMT
Reason for closing: Moved
Additional comments about closing: https://gitlab.archlinux.org/archlinux/p ackaging/packages/lightdm/issues/1
This might be the reason, since it broke gdm: https://github.com/systemd/systemd/pull/13277
```
# systemctl status lightdm
● lightdm.service - Light Display Manager
Loaded: loaded (/usr/lib/systemd/system/lightdm.service; enabled; vendor preset: disabled)
Active: active (running) since Sat 2020-03-14 17:33:06 WET; 12min ago
Docs: man:lightdm(1)
Main PID: 4698 (lightdm)
Tasks: 10 (limit: 9298)
Memory: 25.5M
CGroup: /system.slice/lightdm.service
├─4698 /usr/bin/lightdm
├─4750 /usr/lib/Xorg :2 -seat seat0 -auth /run/lightdm/root/:2 -nolisten tcp vt9 -novtswitch
└─4775 lightdm --session-child 13 20
Mar 14 17:33:06 $HOST systemd[1]: Starting Light Display Manager...
Mar 14 17:33:06 $HOST systemd[1]: Started Light Display Manager.
Mar 14 17:33:07 $HOST lightdm[4723]: pam_unix(lightdm-greeter:session): session opened for user lightdm by (uid=0)
Mar 14 17:33:11 $HOST lightdm[4737]: pam_unix(lightdm:session): session opened for user somini by (uid=0)
Mar 14 17:33:11 $HOST lightdm[4737]: pam_unix(lightdm:session): session closed for user somini
Mar 14 17:33:11 $HOST lightdm[4698]: Error activating login1 session: GDBus.Error:org.freedesktop.login1.NoSuchSession: No session '6' known
Mar 14 17:33:12 $HOST lightdm[4761]: pam_unix(lightdm-greeter:session): session opened for user lightdm by (uid=0)
```
The session is opened and closed right away.
Disabling the session wrapper doesn't affect it.
```
systemctl status lightdm
● lightdm.service - Light Display Manager
Loaded: loaded (/usr/lib/systemd/system/lightdm.service; enabled; vendor preset: disabled)
Active: active (running) since Mon 2020-03-30 22:10:52 WEST; 7min ago
Docs: man:lightdm(1)
Main PID: 732 (lightdm)
Tasks: 3 (limit: 9298)
Memory: 29.5M
CGroup: /system.slice/lightdm.service
└─732 /usr/bin/lightdm
Mar 30 22:10:50 $HOST systemd[1]: Starting Light Display Manager...
Mar 30 22:10:52 $HOST systemd[1]: Started Light Display Manager.
Mar 30 22:10:53 $HOST lightdm[790]: pam_unix(lightdm-greeter:session): session opened for user lightdm by (uid=0)
Mar 30 22:17:48 $HOST lightdm[825]: pam_unix(lightdm:session): session opened for user somini by (uid=0)
```