How to disable Wayland and enable Xorg display server on Ubuntu 18.04 Bionic Beaver Linux - LinuxConfig.org

The default Ubuntu 18.04 Bionic Beaver installation comes with Wayland enabled. The objective is to disable Wayland and enable Xorg display server instead.


This is a companion discussion topic for the original entry at https://linuxconfig.org/how-to-disable-wayland-and-enable-xorg-display-server-on-ubuntu-18-04-bionic-beaver-linux

NOTE: SOME OF THE POSTS BELOW ARE TRANSFERRED FROM LINUXCONFIG DISQUS COMMENTS.

Rompestronk

Does not work. After trying to launch Teamviewer GUI it just aborts and nothing ever happens. Maybe I have another problem, cause Teamviewer from Nix sources also does not work.

Saeid Saati

Hi, thanks I’m using 18.04 with nvidia 390 installed, when I did this still my obs studio is black screen, what I have to do ?

Jon Cormier

This caused me the following problem: Bug #1770238 “[nvidia] Logging in results in a black screen for ...” : Bugs : gdm3 package : Ubuntu Screen would go blank after logging in and eventually would get returned to login. Re-enabling wayland fixed it.

Petr Skovron

Thanks. Seems my system with D525MW motherboard needs this to unfreeze the login screen.

So I did this and rebooted, checked that x11 was running or output said it was running. With GPU in motherboard works just fine with anydesk even on wayland but look n behold I can’t get anydesk to work in headless . I get same error on both wayland and xorg x11 .

“Display server not supported”
Not sure what to do to get anydesk to work headless.

This worked for me. Thank you very much!

I was trying to access a Centos 8 machine from my Windows 10 machine via Teamviewer, but it just showed a black screen. I disabled Wayland in the Centos 8 machine, rebooted, and then it worked.