34

In both

  • MS Teams (Microsoft Teams Version 1.5.00.10453 (64-bit)) and
  • Zoom (Version: 5.10.4 (2845))

on Ubuntu 22.04 LTS (42.0, Wayland) no screen shows up after clicking on "share screen".

Hardware: Lenovo ThinkPad X1 Yoga 3rd, Mesa Intel® UHD Graphics 620 (KBL GT2), Intel® Core™ i7-8550U CPU @ 1.80GHz × 8 connected with two monitors via Thinkpad Thunderbolt 3 dock.

Is there a configuration issue, or is screen sharing not supported?

5 Answers5

23

These applications have not been updated for Wayland, which is why screensharing does not anymore work for the time being.

You may want to switch to Xorg to regain this functionality. To do so, log out, then, before entering your password, click the cog on the bottom right and log in on "Ubuntu on Xorg".

Other workarounds include relaxing security settings in Gnome Shell or using a browser based version of Zoom in a browser that supports Wayland.

vanadium
  • 97,564
12

Screen sharing is disabled as Ubuntu starting from version 21.04 started depending on Wayland instead of xorg.

To fix this issue easily:

a. To login with xorg for user session:

  1. before login there's a setting icon on the bottom left, click on it and choose Ubuntu

b. To disable Wayland and use xorg only:

  1. Open your terminal and write sudoedit /etc/gdm3/custom.conf

  2. Uncomment the value waylandEnabled=false -- just remove the #

  3. Press Ctrl+O then Enter then Ctrl+X

  4. Reboot your computer.

This will trigger Ubuntu to fall back to Xorg and then you can share the screen again.

When rebooting you need to manually select the "Ubuntu with xorg" at the login screen. At the bottom right of the screen there should be a gear. Click on it to select the x11 version.

karel
  • 122,292
  • 133
  • 301
  • 332
Hossam
  • 221
2

Other answers disabling Wayland works, but for anyone for which dropping Wayland just to enable screensharing isn't an option:

the ms teams web client does work in Ubuntu 22.04.

1

I got the same issue I was able to solve it from below approach

  1. Log out from your current account.
  2. You will get a setting icon in bottom-left corner
  3. Tap on setting icon
  4. Select Ubuntu xorg
  5. Now Login in again and try to share screen. Hope it's works.
0

It's working now with the Microsoft teams progressive web apps PWA. I think the issue was with only desktop apps.

Check this out: https://www.microsoft.com/en-us/microsoft-teams/download-app