Gnome closes with an abnormally error, not an X11 application, or another closed error


Issue

In versions of RHEL 8 or higher, Gnome enables Wayland as the default remote protocol which causes this error in FastX.

Starting a Gnome desktop or Gnome application closes with a connection error. Connection closed abnormally and/or It may not be an X11 application.

Solution

Edit the following file:

/etc/gdm/custom.conf

Uncomment:

WaylandEnabled=false

Restart gdm3:

systemctl restart gdm3