42

I read posts that said you can switch at the login screen. But I have not option to switch there.

Scorb
  • 770

2 Answers2

41

You can enable the X using the terminal. Open the terminal and run the command:

$ sudo nano /etc/gdm3/custom.conf

there you will find

WaylandEnable=true

change it to

WaylandEnable=false

And restart the system.

Or you can do the same by following the instructions given in this link here under GNOME heading. Release Notes

  • 2
    I actually found "#WaylandEnable=false" and uncommenting it (removing the # to get "WaylandEnable=false") did it – giuspen Nov 27 '22 at 12:03
  • 1
    (not your fault) Great; this just broke my system. Apparently my X is broken so now it just can't boot. – Gabriel Staples Dec 21 '22 at 10:53
  • 1
    I chose the recovery boot option from the Grub menu, booted into a terminal, and undid the change. – Gabriel Staples Dec 21 '22 at 10:54
  • Yes, my ubuntu could not boot up, so I also had to recovery login as root and undid the change – MikeKlemin Apr 03 '23 at 10:26
  • My first reboot, after uncomment #WaylandEnable=false". Ubuntu just halt somewhere in the boot-process (dark screen). Make a hard turn off, and waited five second, and Ubuntu start as normal (with X11). /Cheers – joni May 31 '23 at 15:04
  • I confirm this works, first thing I needed to get going was DPMS stanby and barrier and both those things are broken on wayland, why did they switch over without making sure the software was ready ! – Shodan Jul 08 '23 at 05:58
19

Update: As @DanglingPointer mentioned in comments below, If you have upgraded the Ubuntu from older version you might be able to change it via the cog wheel as per the steps. If that's not the case, please refer to the steps in Shreedhar Hegde's answer here

On the lock screen,

  1. Once clicked on the password field or after typing your password, look for the cog wheel on the right bottom corner & click on it
  2. Once clicked, you will be presented with two options - Click on the needed mode
    • Ubuntu (Wayland - the default)
    • Ubuntu on XOrg (The second mode - your expected option)
  3. Then just sign-in - You would be logged in to the session on the mode selected

Hope this helps :)

Aravinth
  • 647
  • 3
    No cog wheel on my right bottom at the signin screen, 22.04 – rearThing Sep 19 '22 at 01:13
  • rearThing, can you share the screenshot of the screen you are referring ? – Aravinth Sep 21 '22 at 14:42
  • 3
    @Aravinth I think you can see the cog wheel because you upgraded over several generations. Those on fresh install don't have that option. In my generations upgraded instances, I can see Ubuntu, XOrg, Unity, and Kodi options. – DanglingPointer Oct 01 '22 at 01:36
  • @DanglingPointer - Thanks for that insight, I was unaware of it. In my case i have upgraded from 20.04 to 22.04, Maybe due to to that i have it there – Aravinth Oct 01 '22 at 18:24
  • @rearThing, Did the Shreedhar Hegde's answer helped in your case? – Aravinth Oct 01 '22 at 18:31