I debugged it, found that by default it will use gdm-wayland-session in greeter UI.
/usr/lib/gdm3/gdm-wayland-session gnome-session --autostart /usr/share/gdm/greeter/autostart
After login the system, it will use the gdm-x-session, so this might be the root cause.
When I try to disable Wayland in gdm3, this issue is fixed, because it will use gdm-x-session all the time.
cat /etc/gdm3/daemon.conf # GDM configuration storage # # See /usr/share/gdm/gdm.schemas for a list of available options.
[daemon] # Uncomment the line below to force the login screen to use Xorg WaylandEnable=false
I debugged it, found that by default it will use gdm-wayland-session in greeter UI.
/usr/lib/ gdm3/gdm- wayland- session gnome-session --autostart /usr/share/ gdm/greeter/ autostart
After login the system, it will use the gdm-x-session, so this might be the root cause.
When I try to disable Wayland in gdm3, this issue is fixed, because it will use gdm-x-session all the time.
cat /etc/gdm3/ daemon. conf gdm/gdm. schemas for a list of available options.
# GDM configuration storage
#
# See /usr/share/
[daemon]
# Uncomment the line below to force the login screen to use Xorg
WaylandEnable=false