I have Debian 10 installed, here the info


When I try to share my screen during a video conference, for example using Microsoft Teams or Google Hangouts, I'm not able to do it. If I try using Teams, the program crashes. If I try with Hangouts, people only see a black screen and the cursor, nothing else.

Screen sharing in the Sharing section of my Settings is enabled, if you guess. Do I have to modify something in some configuration file?


I have installed Microsoft Teams Version (64-bit) and I'm using Wayland.

If I try with Teams on browser instead of the app, I'm not able to share the entire screen (only black image displayed) but I'm able to share each app individually. If I use the Teams app, when I click on "share screen" the app crashes.

  • What version of Teams are you running (Desktop or Web version too) and are you using Wayland? Please edit your post to include these details. Thank you. – kemotep May 18 '20 at 14:07
  • @kemotep done, updated – Francesco Lucianò May 18 '20 at 14:29
  • 1
    Could you please try logging into a X user session and trying again? From what I am finding with the most up to date version of Teams on Debian 10, screen sharing only works with X11 and not Wayland. – kemotep May 18 '20 at 14:33
  • @kemotep Thank you, it worked! Add this solution as an answer! – Francesco Lucianò May 18 '20 at 14:59

This Microsoft Tech Community post points out that user's of Microsoft Teams on Linux need to make sure that they have the latest version installed and be using X11 as your graphical user session to be able to screen share.

You can switch between Wayland and X11 typically using the user session options menu on the login screen of the common Linux desktop environments.

As of the time of this post, XWayland and Wayland do not support screen sharing on Teams.

There also exists an unofficial teams-for-linux that does support screen sharing. However, I recommend sticking with getting the official version from Microsoft directly to best receive support and updates.

  • It works, switch to Xorg resolved my problem. Thanks a lot.I share the official link where it was discussed: docs.microsoft.com/en-us/answers/questions/204892/… To check if you are using Waylay type the following command: loginctl show-session $(awk '/tty/ {print $1}' <(loginctl)) -p Type | awk -F= '{print $2}'. – allexiusw Jan 25 at 6:44

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.