CentOS 8.x gnome change default gdm from wayland to X11
From Notes_Wiki
Home > CentOS > CentOS 8.x > Desktop tools or applications > Gnome configuration > CentOS 8.x gnome change default gdm from wayland to X11
A few applications such as Anydesk may not work properly if you use wayland gdm. To shift to X11 gdm permanently use following steps:
- Check current login session numbers using:
- loginctl
- For a particular login session see session-type using:
- loginctl show-session <session-number> -p Type
- Edit '/etc/gdm/custom.conf' as follows:
- Uncomment below line:
- WaylandEnable=false
- Insert below line after disabling Wayland as part of [daemon] section itself:
- DefaultSession=x11
- Note if you use "DefaultSession=gnome-xorg.desktop" instead of x11 that is "X11 Classic" instead of "Standard X11" then activities search (Window button) does not works very nicely.
- Uncomment below line:
- Reboot the machine and re-check. The session type should change from wayland to X11.
Refer:
Home > CentOS > CentOS 8.x > Desktop tools or applications > Gnome configuration > CentOS 8.x gnome change default gdm from wayland to X11