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

  • 1
    See this link to an answer to other question here at AskUbuntu.
    – sudodus
    May 24, 2022 at 6:43

2 Answers 2


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


change it to


And restart the system.

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

  • 1
    I actually found "#WaylandEnable=false" and uncommenting it (removing the # to get "WaylandEnable=false") did it
    – giuspen
    Nov 27, 2022 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. Dec 21, 2022 at 10:53
  • 1
    I chose the recovery boot option from the Grub menu, booted into a terminal, and undid the change. Dec 21, 2022 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 3, 2023 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, 2023 at 15:04

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 :)

  • 3
    No cog wheel on my right bottom at the signin screen, 22.04
    – rearThing
    Sep 19, 2022 at 1:13
  • rearThing, can you share the screenshot of the screen you are referring ?
    – Aravinth
    Sep 21, 2022 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. Oct 1, 2022 at 1: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 1, 2022 at 18:24
  • @rearThing, Did the Shreedhar Hegde's answer helped in your case?
    – Aravinth
    Oct 1, 2022 at 18:31

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .