Some of my applications don't work on Ubuntu 17.10 Wayland. How can I switch back to Xorg?
If you wish to do it permanently, edit
and uncomment the line
#WaylandEnable=false by removing the
# in front.
Save the file and then on reboot you will never see the cog asking for which session to use.
Apparently @doug beat me to this answer. I didn't see it earlier - It was in a comment that was hidden initially
You may want to remove wayland session to prevent accidental logins.
Your package maintainers will be proud of you if you do it as follows:
sudo mkdir /usr/share/wayland-sessions/hidden sudo dpkg-divert --rename \ --divert /usr/share/wayland-sessions/hidden/ubuntu.desktop \ --add /usr/share/wayland-sessions/ubuntu.desktop
What this does is to instruct the package manager to remember a new location for the file. This has several advantages over the other answers:
- It guarantees a future package install/upgrade won't revert your change
- It works with other display managers (lxdm for example lists
You can revert it easily if you change your mind with:
sudo dpkg-divert --rename --remove /usr/share/wayland-sessions/ubuntu.desktop