How to Configure Xorg as Default GNOME Session in Fedora

Wayland is a secure display protocol as well as a library implementing the protocol, that enables communication between your video hardware (the server) and clients (each and every single application on your system). Wayland is the default GNOME display server.

If you notice that some of your applications are not functioning as expected in Wayland, you can switch to GNOME in X11 as shown in this article.

To run GNOME in X11 on Fedora Linux, there are two ways to do it. The first is by choosing the Gnome on xorg option in the session chooser on the login screen and the second way is by manually editing the GNOME display manager (GDM) configuration as shown below.

First, determine the session number and other details by running the following loginctl command.

# loginctl
Check Login Session Number

Check Login Session Number

Next, find out the type of session is running by using the following command (replace 2 with your actual session number).

# loginctl show-session 2 -p Type
Check Session Type

Check Session Type

Now open the GDM configuration file /etc/gdm/custom.conf using your favorite text editor.

# vi /etc/gdm/custom.conf 

Then uncomment the line below to force the login screen to use Xorg display manager.

WaylandEnable=false

And add the following line to the [daemon] section as well.

DefaultSession=gnome-xorg.desktop

The whole GDM configuration file should now look like this.

# GDM configuration storage
[daemon]
WaylandEnable=false
DefaultSession=gnome-xorg.desktop

[security]
[xdmcp]
[chooser]

[debug]
#Enable=true

Save the changes in the file and reboot your system to start using xorg as the default GNOME session manager.

After the system reboot, verify again your session number and type by running the following commands, it should show Xorg.

# loginctl	# get session number from command output 
# loginctl show-session 2 -p Type
Check Gnome Session Type

Check Gnome Session Type

That’s all! In this article, we have explained how to configure Xorg as the default GNOME session in Fedora Linux. Do not forget to reach us via the feedback form below, for any questions or comments.

Best Affordable Linux and WordPress Services For Your Business
Outsource Your Linux and WordPress Project and Get it Promptly Completed Remotely and Delivered Online.

If You Appreciate What We Do Here On TecMint, You Should Consider:

  1. Stay Connected to: Twitter | Facebook | Google Plus
  2. Subscribe to our email updates: Sign Up Now
  3. Get your own self-hosted blog with a Free Domain at ($3.45/month).
  4. Become a Supporter - Make a contribution via PayPal
  5. Support us by purchasing our premium books in PDF format.
  6. Support us by taking our online Linux courses

We are thankful for your never ending support.

Aaron Kili

Aaron Kili is a Linux and F.O.S.S enthusiast, an upcoming Linux SysAdmin, web developer, and currently a content creator for TecMint who loves working with computers and strongly believes in sharing knowledge.

Your name can also be listed here. Got a tip? Submit it here to become an TecMint author.

RedHat RHCE and RHCSA Certification Book
Linux Foundation LFCS and LFCE Certification Preparation Guide

You may also like...

Got something to say? Join the discussion.

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.