Brief: This quick tutorial shows you how to go back to Xorg from Wayland in Ubuntu and vice versa.
One of the main new features in Ubuntu 17.10 was the addition of Wayland as the default display server. As more and more Linux distributions are moving away from the legacy X.Org server and Wayland seems to be the top alternative.
While Wayland maybe the future, it really is in future. At least for Ubuntu 17.10. The issue here is that a number of Linux desktop applications still depend on X.Org. They don’t support Wayland very well.
This spoils the otherwise pleasant Ubuntu 17.10 experience. So what would be the solution here? Wait for all those applications to work with Wayland?
An easier way out would be to switch back to Xorg from Wayland. And I am going to show you how to do that in this quick tip.
Switch to Xorg from Wayland
Remember that I said Wayland is the default display server in Ubuntu 17.10. It also means that there are more than one display servers available. And we can simply switch between them. No need to install anything new.
Restart you Ubuntu system. At the login screen, under the password field, you’ll see a gear icon. Just click on it and you’ll see two options here.
The default Ubuntu means it will be using Wayland while Ubuntu on Xorg obviously means it will use Xorg. You can select Ubuntu on Xorg to use Xorg here.
Similarly, you can switch back to Wayland when you feel like it.
How to know if I am using Wayland or Xorg
Since we are talking about Wayland, Xorg etc, let’s also see how to know which display server is being used. To find that out, open a terminal and use the following command:
And then if you see X11, it’s Xorg. If you see Wayland, quite obviously, the display server in use is Wayland.
Quick Tip: Few programs that require root privileges have troubles with Wayland. For example, GParted won’t run at all in Ubuntu if you are using Wayland. If you don’t want to switch to Xorg, there is still a way to use these applications with sudo.
Use the command below
and then run the troublesome program with sudo like this:
This tip was suggested by It’s FOSS reader Sean and was found here.
I hope this quick tip helped you to switch to Xorg from Wayland in Ubuntu. Stay tuned for more Ubuntu tips and tricks.