question

BauerJulian-9448 avatar image
2 Votes"
BauerJulian-9448 asked OndrejZizka-8958 answered

How to enable screen sharing in MS Teams Desktop on Ubuntu 22.04

Thank you for releasing MS Teams (You have Microsoft Teams Version 1.5.00.10453 (64-bit).) for Ubuntu 22.04.
Currently no screen sharing options are available in MS Teams meetings when participating from MS Teams Desktop on Ubuntu 22.04.

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

office-teams-linux-itpro
· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

On Ubuntu 22.04, screen sharing is not enabled, as by default MS Teams Desktop 22.04, follow this tutorial to fix the screen sharing on Ubuntu 22.04


0 Votes 0 ·

Single window sharing works with:
Chrome Version 103.0.5060.53 (Official Build) (64-bit)
Ubuntu 22.04 + Wayland

Sharing the entire screen does not work, but a sharing a window is good enough for many scenarios.

0 Votes 0 ·
BauerJulian-9448 avatar image
1 Vote"
BauerJulian-9448 answered
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

YukiSun-MSFT avatar image
0 Votes"
YukiSun-MSFT answered BojanBunic-9541 commented

Hi @BauerJulian-9448,

A solution is given here
https://askubuntu.com/questions/1405195/how-to-share-a-screen-in-ms-teams-or-zoom-from-ubuntu-22-04

Great to see that you've found the solution and really appreciated it for the share!

By the way, since the Microsoft Q&A community has a policy that "The question author cannot accept their own answer. They can only accept answers by others.". and according to the scenario introduced here: Answering your own questions on Microsoft Q&A, I would make a brief summary of this thread:


[How to enable screen sharing in MS Teams Desktop on Ubuntu 22.04]

Question:
Currently no screen sharing options are available in MS Teams meetings when participating from MS Teams Desktop on Ubuntu 22.04.
Is there a configuration task, or is screen sharing not supported?

Solution:
After switching to "Ubuntu on Xorg", screens can be shared in both MS Teams and Zoom


You could click the "Accept Answer" button for this summary to close this thread, and this can make it easier for other community member's to see the useful information when reading this thread. Thanks for your understanding!


If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.



· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

I wouldn't say this is a solution. It's definitely a workaround.

The solution would be for MS to update electron for the MS Teams app and implement a proper screen sharing solution, which works on both Xorg and Wayland.

6 Votes 6 ·
CarlosBustamante-8630 avatar image
0 Votes"
CarlosBustamante-8630 answered

The solutions is to edit this file

sudo vim /etc/gdm3/custom.conf


 [daemon]
 # Uncomment the line below to force the login screen to use Xorg
 **WaylandEnable=false**


Add this line reboot, and works great again!





5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

RajeshShivam-6039 avatar image
0 Votes"
RajeshShivam-6039 answered OndrejZizka-8958 commented

On Ubuntu 22.04, screen sharing is not enabled, as Ubuntu 22.04 is comes with Wayland instead of Xorg. So to do that, you can follow fix MS Teams screen sharing on Ubuntu 22.04


· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Dropping Wayland just to have screensharing in MS Teams was not a good deal for me, so instead:

Single window sharing works with:
Chrome Version 103.0.5060.53 (Official Build) (64-bit)
Ubuntu 22.04 + Wayland

Sharing the entire screen does not work, but a sharing a window is good enough for many scenarios.

0 Votes 0 ·
OndrejZizka-8958 avatar image
0 Votes"
OndrejZizka-8958 answered

Single window sharing works with:
Chrome Version 103.0.5060.53 (Official Build) (64-bit)
Ubuntu 22.04 + Wayland

Sharing the entire screen does not work, but a sharing a window is good enough for many scenarios.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.