Ubuntu – Microsoft Teams and Wayland – will screen sharing be fixed in 21.04

microsoft-teamswayland

I've googled until my fingers bled, but unfortunately all I end up finding is either posts by Microsoft saying "Teams works on Linux" and posts in help forums that just end up telling people to use xorg instead of Wayland.

But Wayland is going default, and screen sharing isn't working atm (Ubuntu 20.10 here, using the "official" Teams package) unless we use xorg. Using Wayland doesn't even show the option to share one's screen in Teams.

Has there been any news concerning 21.04 and screen sharing?

Alternative: is there anything I can do in 20.10 using Wayland to get screen sharing to work in Teams?

I'm sure there's a lot of us that have the same question, now that working from home has become the new norm…

Best Answer

The problem does not lie with Ubuntu nor Linux.

Teams is an app built on the electron framework, so basically it is one package consisting of html5 with javascript running on chromium. This makes it possible to use it on any platform that can run chromium.

Problem is, wayland support for chromium is incomplete and buggy. Therefore on wayland it is forced to use xwayland. This further reduces the possibilities of things like screensharing.

In short, for now use Xorg if you have to make full use of electron based apps like Teams.

Wayland will eventually work as soon as chromium has full support of it and all electron apps have been upgraded to use that version of chromium.

Related Question