
I recently updated to Ubuntu 18.04 and cannot boot using Xorg only Wayland. I have tried reinstalling xorg, reinstalling nvidia drivers, setting |WaylandEnable=false| in |/etc/gdm/custom.conf| but whenever trying to login using Xorg I get a frozen screen and mouse. On my 18.04 system, gdm is running under Xwayland no matter what session I choose. So I'd suggest commenting out the WaylandEnable=false unless the gdm login isn't visible on your system. If I don't comment out WaylandEnabled = false I can't even get to the login screen so yes I have to comment this out. Also, the first time I explicitly chose "GNOME on Xorg" at the password "cog", I got a blank screen with just a mouse cursor. On reboot, GNOME is happily running on Xorg ($DESKTOP_SESSION is "gnome-xorg") — but Xwayland's still running too.
Xorg is supposed to be the default for new installations under 18.04, and I was definitely running it under 17.10. I was surprised to find that after the upgrade I'd been pushed over to Xwayland. I am in the same boat, was using Xorg on 17.10 but cannot get it to work in 18.04. Maybe the only way to get it back is a clean install? https://bugs.launchpad.net/ubuntu/bionic/+source/gdm3/+bug/1766137 looks relevant - with a link to https://bugzilla.gnome.org/show_bug.cgi?id=795940 Thank you I looked at this however there is no discussion with that bug to suggest a problem with logging in on Xorg vs Wayland so it appears to be a different issue. jim