How resolve error non-X11 windows system (e.g. Wayland) on some graphical applications

Some applications that work with graphical funtions don't work on Ubuntu 22.

For solve this errors 


Open a terminal window.

Run the following command to edit the /etc/gdm3/custom.conf file:

sudo vi /etc/gdm3/custom.conf

In the file, find the line that says WaylandEnable and change the value to true or uncoment.

Save the file and exit the text editor.

Restart your computer or restart the GDM3 service:

sudo systemctl restart gdm3

After your computer has restarted, you will be able to log in to Wayland by selecting the "Ubuntu on Wayland" option at the login screen.

Here are some additional things to keep in mind:


Wayland is not supported by all graphics cards. If you have an Nvidia graphics card, you may need to install the proprietary Nvidia drivers in order to use Wayland.

Some applications may not work properly on Wayland. If you encounter any problems, you can try switching back to Xorg.

To disable Wayland, simply change the value of WaylandEnable back to false in the /etc/gdm3/custom.conf file and restart your computer or the GDM3 service.


I hope this helps! Let me know if you have any other questions.

Comments