How to fix black screen on screen share in Ubuntu

Jan 25, 2022 · 1 min read · Post a comment

During an online session, I spotted that the screen share on Ubuntu stopped working. The first thought that came to my mind was the application itself. But later I realized that no matter what app I’m using whether it’s Skype, Teams, Google Chat … the same effect affects all of them. The screen is black and on the other side, I can only see my cursor. So I found a workaround that solved the issue.


  • Ubuntu
  • sudo privileges


Some Ubuntu kernels are coming with Wayland enabled. So the workaround is to disable Wayland and enable Xorg as a display server protocol.

Step 1. Open the gnome display manager configuration file.

sudo nano /etc/gdm3/custom.conf

Step 2. Find and uncomment the #WaylandEnable=false line which will force Xorg.

# GDM configuration storage
# See /usr/share/gdm/gdm.schemas for a list of available options.

# Uncomment the line below to force the login screen to use Xorg

Step 3. Now, restart the machine and the screen share will get back to normal.



Don’t hesitate to put a comment if you have some other difficulties or different opinions. Feel free to leave a comment below and if you find this tutorial useful, follow our official channel on Telegram.