18.04: How to get Wayland back after upgrade to 18.04?
On the login screen, you should be able to select "Ubuntu on Wayland" by clicking on the settings icon, next to the login button.
If that option is not available under the cog icon on the password screen, make sure that WaylandEnable=false
is commented out (or not present) in /etc/gdm3/custom.conf
Mine looks like this:
# GDM configuration storage
#
# See /usr/share/gdm/gdm.schemas for a list of available options.
[daemon]
# Uncoment the line below to force the login screen to use Xorg
# WaylandEnable=false
# Enabling automatic login
# AutomaticLoginEnable = true
# AutomaticLogin = user1
# Enabling timed login
# TimedLoginEnable = true
# TimedLogin = user1
# TimedLoginDelay = 10
[security]
[xdmcp]
[chooser]
[debug]
# Uncomment the line below to turn on debugging
# More verbose logs
# Additionally lets the X server dump core if it crashes
Enable=true
If you cannot log in to change this, start Ubuntu into recovery mode, go into root shell, and mount root partition as read/write: How do I boot into recovery mode?
From there edit the GDM config with nano /etc/gdm3/custom.conf
and comment out the WaylandEnable line: #WaylandEnable=false
I got this to work, but it was by specifically setting this option:
WaylandEnable=true
In any case, as mentioned elsewhere, this does not work on all applications.
Google Chrome continues to have monster fonts.