Sometimes the Wayland session is started when selecting the X11 session
I noticed that sometimes when selecting a jhbuild X11 session (/usr/share/xsessions/gnome-jhbuild-xorg.desktop
) the Wayland session (maybe /usr/share/wayland-sessions/gnome-jhbuild.desktop
?) is started instead. This probably has started after upgrading to Fedora 35 (gdm-41.0-1.fc35.x86_64) a few days ago. GDM itself is always running on Wayland.
I think opening the sessions menu and selecting the already selected X11 session before logging in results in the X11 session correctly being used.
AccountsService user entry:
[User]
Language=de_DE.UTF-8
Session=gnome-jhbuild-xorg
XSession=gnome-jhbuild-xorg
PasswordHint=
Icon=/var/lib/AccountsService/icons/devel
SystemAccount=false
From the journal:
Sep 29 09:53:02 t460 systemd[520624]: Starting GNOME Shell on Wayland...
Sep 29 09:53:02 t460 systemd[520624]: Starting GNOME Shell on X11...
Sep 29 09:53:02 t460 systemd[520624]: org.gnome.Shell@x11.service: Skipped due to 'exec-condition'.
Sep 29 09:53:02 t460 systemd[520624]: Condition check resulted in GNOME Shell on X11 being skipped.
Sep 29 09:53:02 t460 systemd[520624]: org.gnome.Shell@x11.service: Scheduled restart job, restart counter is at 1.
Sep 29 09:53:02 t460 gnome-session[520823]: gnome-session-binary[520823]: GnomeDesktop-WARNING: Could not create transient scope for PID 520838: GDBus.Error:org.freedesktop.DBus.Error.UnixProcessIdUnknown: Proc>
Sep 29 09:53:02 t460 gnome-session-binary[520823]: GnomeDesktop-WARNING: Could not create transient scope for PID 520838: GDBus.Error:org.freedesktop.DBus.Error.UnixProcessIdUnknown: Process with ID 520838 does>
Sep 29 09:53:02 t460 systemd[520624]: Stopped GNOME Shell on X11.
Sep 29 09:53:02 t460 gnome-session[520823]: gnome-session-binary[520823]: GnomeDesktop-WARNING: Could not create transient scope for PID 520840: GDBus.Error:org.freedesktop.DBus.Error.UnixProcessIdUnknown: Proc>
Sep 29 09:53:02 t460 gnome-session-binary[520823]: GnomeDesktop-WARNING: Could not create transient scope for PID 520840: GDBus.Error:org.freedesktop.DBus.Error.UnixProcessIdUnknown: Process with ID 520840 does>
Sep 29 09:53:02 t460 systemd[520624]: Starting GNOME Shell on X11...
Sep 29 09:53:02 t460 systemd[520624]: org.gnome.Shell@x11.service: Skipped due to 'exec-condition'.
Sep 29 09:53:02 t460 systemd[520624]: Condition check resulted in GNOME Shell on X11 being skipped.
Sep 29 09:53:02 t460 systemd[520624]: org.gnome.Shell@x11.service: Scheduled restart job, restart counter is at 2.
Sep 29 09:53:02 t460 systemd[520624]: Stopped GNOME Shell on X11.
Sep 29 09:53:02 t460 systemd[520624]: Starting GNOME Shell on X11...
Sep 29 09:53:02 t460 systemd[520624]: org.gnome.Shell@x11.service: Skipped due to 'exec-condition'.
Sep 29 09:53:02 t460 systemd[520624]: Condition check resulted in GNOME Shell on X11 being skipped.
Sep 29 09:53:02 t460 systemd[520624]: org.gnome.Shell@x11.service: Scheduled restart job, restart counter is at 3.
Sep 29 09:53:02 t460 systemd[520624]: Stopped GNOME Shell on X11.
Sep 29 09:53:02 t460 systemd[520624]: org.gnome.Shell@x11.service: Start request repeated too quickly.
Sep 29 09:53:02 t460 systemd[520624]: org.gnome.Shell@x11.service: Skipped due to 'exec-condition'.
Sep 29 09:53:02 t460 systemd[520624]: Started GNOME Shell on X11.
Sep 29 09:53:02 t460 gnome-shell[520842]: Running GNOME Shell (using mutter 41.0) as a Wayland display server
$ echo $XDG_SESSION_TYPE
wayland
Edited by Sebastian Keller