I use Fedora 38 and 39 Workstation on two computers and have recently noticed that both use Gnome under X instead of Wayland. The options in the login screen are “Gnome” and “Gnome Classic”.
Both operating systems are more or less stock, I haven’t changed much in either of them.
Most of the resolutions are pretty specific to the poster’s situation, but it does offer some useful troubleshooting/investigation advice for essentially the same problem.
Some time ago, I installed labwc, a Wayland compositor, from an official Fedora repository. I haven’t changed any of its settings yet, but still thought I should mention this.
I have only tried to run it from the terminal within Gnome. For now, labwc isn’t available as an environment in the login screen of my F38.
There is indeed a long report called by journalctl -b _UID=42. I’ve tried searching for the line above using / but only Running GNOME Shell (using mutter 44.5) as a X11 window and compositing manager has been found. No mentions of Wayland.
Then I guess I should quote the rest of that comment:
If not, check /etc/gdm/custom.conf and /run/gdm/custom.conf for any configuration directives disabling Wayland. The latter is written to from a udev rule for certain hardware configurations: /usr/lib/udev/rules.d/61-gdm.rules
You’re looking for something like WaylandEnable=false that isn’t commented out (#).
# GDM configuration storage
[daemon]
# Uncomment the line below to force the login screen to use Xorg
WaylandEnable=false
DefaultSession=x11
AutomaticLoginEnable=True
AutomaticLogin=user
[security]
[xdmcp]
[chooser]
[debug]
# Uncomment the line below to turn on debugging
#Enable=true
/run/gdm/custom.conf is empty or doesn’t exist.
I wonder why the rule restricting Wayland appeared in /etc/gdm/custom.conf. Should I replace the two lines above with the following two?