gnome-session 3.36.0 fails to start a GNOME Wayland session on non-systemd sessions with older gnome-settings-daemon
Hello,
I'm currently in the progress of updating GNOME to 3.36.0 on Alpine Linux and it appears that upgrading gnome-session to 3.36.0 breaks logging into a new (Wayland?) session.
Here's the log I got with debug GDM:
...
Mar 8 22:53:31 localhost user.debug : gdm-wayland-session: Session will register itself
Mar 8 22:53:31 localhost daemon.warn gnome-session-binary[7407]: WARNING: Falling back to non-systemd startup procedur
e due to error: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.systemd1 was not provid
ed by any .service files
Mar 8 22:53:31 localhost daemon.warn gnome-session-binary[7407]: WARNING: Unable to find required component 'org.gnome
.SettingsDaemon.UsbProtection'
Mar 8 22:53:31 localhost daemon.notice gnome-session-binary[7407]: CODE_FILE=../gnome-session/gsm-manager.c:CODE_LINE=
1389:start_phase:Entering running state
Mar 8 22:53:33 localhost user.debug : session exited with status 0
Mar 8 22:53:33 localhost user.debug : GdmSessionWorker: child (pid:7403) done (status:0)
Mar 8 22:53:33 localhost user.debug : GdmSessionWorker: uninitializing PAM
Mar 8 22:53:33 localhost authpriv.info : pam_unix(gdm-password:session): session closed for user rasmus
Mar 8 22:53:33 localhost user.debug : GdmSessionWorker: jumping to VT 1
Mar 8 22:53:33 localhost user.debug : GdmSessionWorker: couldn't finalize jump to VT 1: Interrupted system call
Mar 8 22:53:33 localhost user.debug : GdmSessionWorker: state NONE
Mar 8 22:53:33 localhost user.debug : GdmLocalDisplayFactory: received VT change event
Mar 8 22:53:33 localhost user.debug : GdmLocalDisplayFactory: VT changed from 7 to 1
Mar 8 22:53:33 localhost user.debug : Trying script /etc/gdm/PostSession
Mar 8 22:53:33 localhost user.debug : script /etc/gdm/PostSession not found; skipping
Mar 8 22:53:33 localhost user.debug : Trying script /etc/gdm/PostSession/Default
Mar 8 22:53:33 localhost user.debug : Running process: /etc/gdm/PostSession/Default
Mar 8 22:53:33 localhost user.debug : GdmLocalDisplayFactory: VT of login window is 1
Mar 8 22:53:33 localhost user.debug : GdmLocalDisplayFactory: VT not switched from login window
Mar 8 22:53:33 localhost user.debug : Gdm: script environment: PATH=/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin
Mar 8 22:53:33 localhost user.debug : Gdm: script environment: LOGNAME=rasmus
Mar 8 22:53:33 localhost user.debug : GdmLocalDisplayFactory: creating new display on seat0 because of VT change
Mar 8 22:53:33 localhost user.debug : Gdm: script environment: USER=rasmus
Mar 8 22:53:33 localhost user.debug : GdmLocalDisplayFactory: wayland login display for seat seat0 requested
Mar 8 22:53:33 localhost user.debug : Gdm: script environment: USERNAME=rasmus
Mar 8 22:53:33 localhost user.debug : Gdm: script environment: PWD=/home/rasmus
Mar 8 22:53:33 localhost user.debug : Gdm: script environment: SHELL=/bin/bash
Mar 8 22:53:33 localhost user.debug : Gdm: script environment: RUNNING_UNDER_GDM=true
Mar 8 22:53:33 localhost user.debug : Gdm: script environment: GROUP=rasmus
Mar 8 22:53:33 localhost user.debug : Gdm: script environment: HOME=/home/rasmus
Mar 8 22:53:33 localhost user.debug : GLib: posix_spawn avoided (fd close requested)
Mar 8 22:53:33 localhost user.debug : GdmLocalDisplayFactory: display status changed: 2
Mar 8 22:53:33 localhost user.debug : GdmLocalDisplayFactory: session c1 found, activating.
Mar 8 22:53:33 localhost user.debug : Process exit status: 0
Mar 8 22:53:33 localhost daemon.warn gnome-session-binary[5514]: DEBUG(+): emitting SessionIsActive
Mar 8 22:53:33 localhost user.debug : GdmSession: Emitting 'session-exited' signal with exit code '0'
Mar 8 22:53:33 localhost user.debug : GdmManager: session exited with status 0
Edited by Andre Klapper