3

I use a linux-based laptop (Debian 11, upstream of Ubuntu). My colleagues use Microsoft teams for meetings. I would like to share my screen or at least a presentation in a format other that Powerpoint, such as a browser tab or a pdf file. Is there a work-around to:

  1. share the screen from a linux laptop?
  2. or at least share a pdf presentation?

There are related messages under this thread in a Microsoft forum: https://docs.microsoft.com/en-us/answers/questions/34407/screensharing-not-working-in-the-official-ms-teams.html I don't have any access to the administrative settings on the server side.

I'm using Microsoft Teams Version 1.4.00.26453 (64-bit) installed from the .deb package downloaded from microsoft-teams/download-app.

Update 2022

Based on comments under this answer, and several other answers reporting Teams working well under the Wayland desktop, I tried to share the screen when Teams was started inside the chromium web browser. I could see the share tray and select screens but it didn't work. It still didn't work after installing the Teams browser extension as recommended on this Microsoft Q&A site.

2 Answers2

6

This issue was raised in the post Teams for Linux desktop sharing.

No answer came from Microsoft, so the users supplied these workarounds:

  • "I switched to X11 from Wayland. Screen sharing works flawlessly on Chromium (Version 91.0.4472.77 (Offizieller Build) snap (64-Bit)) and Teams App (Microsoft Teams Version 1.4.00.7556 (64-Bit))."

  • "I had the same problem until I uninstalled the proprietary Nvidia driver. I am currently using the open-source "xserver-xorg-video-nouveau". No more issues with screensharing."

  • "A work-around for screen and application sharing (at least for me) is to use the browser version of Teams (https://teams.microsoft.com/) with Google Chrome browser (version 87.0.4280.141.)"

  • "I was able to get screenshare working by utilizing the XOrg version of Gnome Desktop. In latest version of Fedora, click the gear icon in lower right hand corner and log into the desktop using Xorg version of Gnome. This resolved the issue for me."

  • "we can get around this by creating a 2nd virtual webcam that shows our desktop: https://superuser.com/questions/411897/using-desktop-as-fake-webcam-on-linux"

One of these workarounds might work for you. If one did, you may add the information to that post.

EDIT

You could try using X11 as described in :

Another screen-sharing solution might come from Using desktop as fake webcam on linux.

harrymc
  • 498,455
3

I found some pretty fresh threads about this from both Microsoft and Ubuntu forums. According to them there's a problem between Teams and Wayland caused by Teams using an outdated version of Electron.

One suggested solution is switching from Wayland to xorg. Another suggestion is installing beta versions of Chrome or Edge.

Sources:

https://answers.microsoft.com/en-us/msteams/forum/all/teams-screen-sharing-doesnt-work-on-linux/aa871d64-b600-442f-b751-d5e9b282ad37?page=1

https://askubuntu.com/questions/1329667/microsoft-teams-and-wayland-will-screen-sharing-be-fixed-in-21-04

Peregrino69
  • 5,004