Configuring Xorg as the default GNOME session

Peter Lilley Версія F35 onwards Last review: 2021-01-03
Wayland is the default GNOME display server, and has been the default in Fedora since Fedora 25. However, users may still need to use the older Xorg display server for compatibility reasons.

To confirm the current windowing system in use, go to Settings and select About.

Settings - About

Configuring GNOME to use Xorg

At the login screen, select the "gear" icon and select GNOME on Xorg.

Login screen - select GNOME on Xorg

Once login is completed the X11 windowing system will be in use, as can be seen by returning to Settings > About. This change will persist unless changed back at the login screen.

Settings - About

Changing the default GNOME session via configuration file

As an alternative, this change can be made by editing a configuration file /etc/gdm/custom.conf.

  1. Open /etc/gdm/custom.conf and uncomment the line:

    WaylandEnable=false
  2. Add the following line to the [daemon] section:

    DefaultSession=gnome-xorg.desktop
  3. Save the custom.conf file.

  4. Logout or reboot to enter the new session.

With the above changes applied, the option to set the GNOME session to use Wayland will actually be removed from the "gear icon" menu on the login screen.

Additional Resources