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:

  1. Check current login session numbers using:
    loginctl
  2. For a particular login session see session-type using:
    loginctl show-session <session-number> -p Type
  3. Edit '/etc/gdm/custom.conf' as follows:
    1. Uncomment below line:
      WaylandEnable=false
    2. 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.
  4. 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