Problem
When you install Microsoft Teams on Linux Ubunut 22.04, screen/desktop sharing doesn't work (v1.5.00.10453)
When you open the sharing tray on the native or the web-client of MS teams, its empty as shown below.
Cause
The origin of this problem is that Linux Ubuntu 22.04 uses Wayland as main communication protocol between a display server and its clients. And the Elektron version that Teams is currently using doesn't support Wayland as it should.
Solution
Solving the screen sharing issue is easily resolved by just disabling Wayland in your display manager
Assuming GDM3 is your default display manager, editing the config can disable Wayland
sudoedit /etc/gdm3/custom.conf
Uncomment #WaylandEnable=false
and save your changes
Restart your device or restart GDM3
bash
sudo systemctl restart gdm3
After restart, this should resolve the issues with MS Teams screen sharing
Top comments (10)
Thanks worked perfectly
This was awesome! Thank you!
Worked perfectly, thanks!
Thanks a lot, you saved my life
Fixed sharing problem but disabled my second monitor
We can't have it all, can we?
Worked for me but Spotify doesn't work anymore..
The problem here, for me at least, is that the color seems to be a little different, like gray is some kind of tiny red gray...
Thanks, It worked.
But if I want use wayland, are there any options?
Unfortunately, I haven't found a way to use Wayland successfully share screens with Microsoft Teams