gdm 42.0 login does not display "Wayland-session" when using plymouth with encryption at boot or reboot, but it works after logout then login
I notice the issue with gdm 42.0 login that does show only "Gnome (X11)" and "Gnome classic" after boot or reboot. But gdm shows "wayland-session" after logout then login instead reboot.
What I tried:
- My config of gdm
$ cat /etc/gdm/custom.conf
[daemon]
WaylandEnable=true
DefaultSession=gnome-wayland.desktop
AutomaticLoginEnable=False
[security]
[xdmcp]
[chooser]
[debug]
# Uncomment the line below to turn on debugging
#Enable=true
That does not help after reboot.
- Change
/usr/lib/udev/rules.d/gdm.rules
Change
...
LABEL="gdm_disable_wayland"
RUN+="/usr/lib/gdm-runtime-config set daemon WaylandEnable false"
...
to
...
LABEL="gdm_disable_wayland"
RUN+="/usr/lib/gdm-runtime-config set daemon WaylandEnable true"
...
That does not help after reboot.
-
Deleted
/usr/lib/udev/rules.d/gdm.rules
, the same issue. Then I restored it back. -
Disabled Intel driver
i915
at boot, the same issue again, but too slow. then I enabled it back. -
I disabled plymouth at boot and type password in text screen, that works with wayland-session in gdm login
My system info:
- OS: Manjaro Linux Gnome 42.3
- CPU: 11th Gen Intel Core i7-11800H
- GPU: Only Intel TigerLake-H GT1 (Intel graphic driver:
i915
that is already enabled in Linux Kernel module) - I am using
systemd
insteadudev
- I am using
sd-plymouth sd-encrypt
insteadplymouth plymouth-encrypt
Log:
plymouth shows at booting and type password in plymouth screen. GDM login does not show "wayland-session"
Aug 11 10:11:29 p15v gnome-session-binary[1142]: GLib-GIO-CRITICAL: g_bus_get_sync: assertion 'error == NULL || *error == NULL' failed
Aug 11 10:11:29 p15v gnome-session-binary[1142]: GLib-GIO-CRITICAL: g_bus_get_sync: assertion 'error == NULL || *error == NULL' failed
Aug 11 10:11:29 p15v gnome-session-binary[1142]: Unrecoverable failure in required component org.gnome.Shell.desktop
Aug 11 10:11:29 p15v gdm-launch-environment][1101]: GLib-GObject: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
Aug 11 10:11:33 p15v gdm-launch-environment][1160]: GLib-GObject: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
Aug 11 10:11:34 p15v gnome-session-binary[1210]: GLib-GIO-CRITICAL: g_bus_get_sync: assertion 'error == NULL || *error == NULL' failed
Aug 11 10:11:34 p15v gnome-session-binary[1210]: GLib-GIO-CRITICAL: g_bus_get_sync: assertion 'error == NULL || *error == NULL' failed
Aug 11 10:12:10 p15v gdm-fingerprint][1585]: gkr-pam: unable to locate daemon control file
Maybe the issue is related to Unrecoverable failure in required component org.gnome.Shell.desktop
VS.
Disable plymouth at booting and type password in text screen. GDM login shows "Wayland-session".
Aug 11 10:13:02 p15v gnome-session-binary[1143]: GLib-GIO-CRITICAL: g_bus_get_sync: assertion 'error == NULL || *error == NULL' failed
Aug 11 10:13:02 p15v gnome-session-binary[1143]: GLib-GIO-CRITICAL: g_bus_get_sync: assertion 'error == NULL || *error == NULL' failed
Aug 11 10:13:28 p15v gdm-password][1538]: gkr-pam: unable to locate daemon control file
Aug 11 10:13:31 p15v gdm-launch-environment][1101]: GLib-GObject: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
I hope you understand my description of the problem when using sd-plymouth
and sd-encrypt
at boot