Switch Between Wayland and Xorg in Ubuntu (2022)
Wayland became the default display server with the release of Ubuntu 21.04 in April 2021. That said, Ubuntu still supports Xorg, and you can seamlessly switch between the two options. I tested switching the display server on my computer running Ubuntu 22.04.1 LTS (August 11, 2022), and it worked without any issues. On that note, here are the steps to follow.
- Before you switch between Wayland or Xorg in Ubuntu, you first need to disable Automatic Login. Otherwise, the dedicated option will not appear on the lock screen. So, you first need to open Settings from the app launcher.
- Next, in the left pane, scroll to the bottom and select “Users”. After that, click on “Unlock” in the top-right corner and enter your password to authenticate.
- Once you have done that, go ahead and disable the “Automatic Login” toggle. This is an important step. Or else, you simply can’t switch to Xorg or Wayland in Ubuntu.
- Now, click on the top-right corner (the power button) in the system tray area. Here, click on “Power off/Log Out” in the drop-down menu.
- After that, choose “Log Out“. This will log you out of your current Ubuntu session.
- Now, press any key on the keyboard or click with the mouse, and the Ubuntu lock screen will appear. Here, click on your user profile first.
- On the password screen, you will find a cogwheel icon at the bottom-right corner. Click on the cog and select “Ubuntu” or “Ubuntu on Xorg” to switch to Xorg. And if you want to use Wayland, select “Ubuntu on Wayland”.
- Now, enter the password, and you will log in with your chosen display server — either Xorg or Wayland in Ubuntu. And that’s how you switch between Wayland and Xorg in Ubuntu.
- To check if you are using Xorg or Wayland in Ubuntu, open Settings and move to “About”. Under “Windowing System“, you will find either Wayland or X11 (Xorg) mentioned in the right pane.
What Do You Prefer on Ubuntu – Wayland or X11?
So these are the steps you need to follow to switch between Wayland and Xorg (X11) in Ubuntu. As we said above, Wayland turned out to be buggy in my brief testing, so we moved to Xorg for better compatibility. So if you are also facing a similar issue, let us know in the comment section below. Meanwhile, you can learn what the Chmod 777 command means in Linux and why you should avoid using it. And if you are looking for a way to run Android apps in Linux without an emulator, head to our linked tutorial.