8

I want to try out Wayland from a live USB session of 20.04.1. I tried the steps in https://askubuntu.com/a/988579/428527 which is regarding 17.04 without success (system settings still indicate X11 after following the steps).

How would I go about this?

Andreas
  • 1,048
  • 1
  • 11
  • 31

1 Answers1

11

The first thing you need to do, assuming you're already booted into the live instance of Ubuntu, is change the way you login. You can click in the bottom right and 'Show Applications.' Once there, you can enter the word 'users', click on the settings app offered, and disable logging in automatically.

When you're done with that, change the password. It turns out this is mandatory - and perhaps a bug. You'll need to deal with Ubuntu's need for a complex password, so just make sure it's at least 12 characters long, not a dictionary word, and has a mix of numbers and letters. Yes, even in the live instance that's temporary they want a complex password meeting whatever criteria they set.

Next, you want to edit /etc/gdm3/custom.conf and comment out the line that disables Wayland.

sudo nano /etc/gdm3/custom.conf

Find the line:

WaylandEnable=false

Change it to:

#WaylandEnable=false

Make sure to save it, obviously.

Restart gdm3 with:

sudo systemctl restart gdm3

Note: That may log you out, that's fine. If it doesn't automatically, log out manually.

Log back in, but after you click the user, there's an icon in the lower right. It's a gear icon. Click it and choose to Ubuntu on Wayland. Then enter your password and press ENTER.

If everything worked, you're logged in with Wayland.

Now, to verify this...

Press CTRL + ALT + T and open the terminal and enter:

echo $XDG_SESSION_TYPE

If done correctly, it looks like this:

Tada!

Good luck!

KGIII
  • 4,101