I know I can stop using Wayland if I log out and change the setting, but I don't want to keep having to log out each time Ubunutu updates. Every time Ubuntu gets updated it enables Wayland again. I want to permenetly disable Wayland so it will never be used on my computer.
-
Curious as to why? Personally I know X inside out and know nearly nothing about Wayland. I don't know Wayland well enough to know why I would want to get rid of it?– Swiss FrankSep 10, 2022 at 13:31
-
1@SwissFrank VM Ware Horizon Client is not compatible with Wayland.– Philip RegoAug 13 at 16:41
1 Answer
I selected Xorg instead of Wayland according to the following link in my Ubuntu Desktop 22.04 LTS (now automatically 22.04.1 LTS).
Method to switch from Wayland to X (to make Firefox work)
Edit the configuration file,
sudo nano /etc/gdm3/custom.conf
to uncomment [remove
#
from] the line containingWaylandEnable=false
save the file (ctrl + x and after that y ('yes') or another key for non-English and finally Enter) and reboot.
This system has been updated & upgraded several times and it is still using Xorg.
-
Personally I know X inside out and know nearly nothing about Wayland. I don't know Wayland well enough to know why I would want to get rid of it? Sep 10, 2022 at 13:31
-
2@SwissFrank, If Wayland works well for you with the tools that you use, fine, continue using it :-) But there are several tools/commands that do not work well or not at all with Wayland, and if you need such tools, you had better roll back to the classic Xorg. - Wayland is the new tool, and I think it will gradually replace Xorg, but the world of graphical tools is huge, and some tools were made to use Xorg in ways, that are not supported by Wayland, and it takes time to fix all problems. I think we need some modifications both in the tools and in Wayland.– sudodusSep 10, 2022 at 13:44
-
Sorry, I'm on Ubuntu Mate 22.04 ($DESKTOP_SESSION is
mate
andwmctrl -m
saysMetacity (Marco)
); Every indication is I'm running Wayland (at least "sudo synaptic" saysProbably you're running Synaptic on Wayland with root permission.
). In any case, there is definitely no/etc/gdm3/custom.conf
on my system and/etc/lightdm/lightdm.conf
doesn't contain any lines mentioning Wayland; Any hints on how to permanently disable Wayland in the general case? (i.e. for other desktop managers commonly used with Ubuntu?)– MRuleSep 21, 2022 at 8:04 -
1@MRule, Please run
echo $XDG_SESSION_TYPE
; the output should be either 'wayland' or 'x11'. (I don't think Ubuntu MATE runs Wayland, but I am not sure.) I suggest that you create an own question in order to get a good answer (separate from this one).– sudodusSep 21, 2022 at 11:40 -
1@Archisman Panigrahi, Thanks for telling that it is important to show how to save the edited file in `nano'. I modify further to show 'key symbols'.– sudodusOct 30, 2022 at 16:49