Teams linux share screen

Microsoft Teams screen sharing not working in Linux

You have a Linux distribution on which you have installed the latest version of Microsoft Teams. When trying to share your screen via Teams, there is an empty window and there is no option to share any window or screen with anyone in the Teams meeting.

Solution #

Linux graphical user interface (GUI) components overview #

Linux kernel uses various Linux window managers, display managers, desktop environments and display servers. More specifically:

  • Xorg, XFree86 and X11 are display servers. This creates the graphical environment. Wayland is part of the FreeDesktop.org project. Wayland is intended as a simpler replacement for X display servers, easier to develop and maintain. GNOME and KDE are expected to be ported to it. The Linux display server is the component which coordinates all graphical components at the kernel level. X is an application that manages one or more graphics displays and one or more input devices (keyboard, mouse, etc.) connected to the computer. It works as a server and can run on the local computer or on another computer on the network. Services can communicate with the X server to display graphical interfaces and receive input from the user. It’s worth noting, a common component used with an X server is the Window Manager, an application that manages the resizing and moving of windows and decorative elements of windows such as title bars, minimize, and close buttons. The X server can be started with the ‘startx’ command, or more commonly, from a display manager such as gdm.
  • [gkx]dm (and others) are display managers. A login manager is a synonym. This is the first X program run by the system if the system (not the user) is starting X and allows you to log on to the local system, or network systems.
  • A window manager controls the placement and decoration of windows. That is, the window border and other controls which are part of the window decoration. Some of these are stand alone (WindowMaker, sawfish, fvwm, etc). Some depend on an accompanying desktop environment.
  • A desktop environment such as XFCE, KDE, GNOME, etc. are suites of applications designed to integrate well with each other to provide a consistent desktop experience. Some desktop environments include their associated window manager component.
Читайте также:  Arch linux add sudo

Microsoft Teams screen sharing issue resolution steps #

You can try a few things to resolve issues with screen sharing not working in Microsoft Teams and possibly other third party tools, such as Zoom, Webex or GotoMeeting.

  1. Check that the “Allow connections to control the screen” option is enabled in the “System Settings –> Sharing” menu and try again.

2) If the above does not work, try enabling or disabling Wayland. This configuration can be done from the Linux display manager configuration files, as shown in the cases below.

GDM3 display manager

Run the following commands.

sudo vim /etc/gdm3/custom.conf #Change the following line/parameter accordingly to enable/disable Wayland #WaylandEnable=false sudo systemctl restart gdm3

To login to Ubuntu 20.04 using the Wayland click on the gear button and select Ubuntu on Wayland option before you login. If you have disabled the Wayland display server as per the above Step 1 this option would not be available at all.

Источник

How to share a screen in MS Teams or Zoom from Ubuntu 22.04

on Ubuntu 22.04 LTS (42.0, Wayland) no screen shows up after clicking on «share screen».

Hardware: Lenovo ThinkPad X1 Yoga 3rd, Mesa Intel® UHD Graphics 620 (KBL GT2), Intel® Core™ i7-8550U CPU @ 1.80GHz × 8 connected with two monitors via Thinkpad Thunderbolt 3 dock.

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

Going back to Xorg which is regularly proposed as a solution to the above problem is pretty much like telling someone to ditch their car and go back to horse and carriage if they have a flat tire. One of the reasons screen-sharing works under X and not under Wayland is that X has no concept of security. Every X application has full access to the frame buffer and thus sees everything. Disabling security — however crude a solution that may be — does the trick for now and you are not worse off than with Xorg and at least you can disable it for the duration of your screen sharing session only.

Читайте также:  Linux amd ryzen 3 3200u

Finally some common sense. I think the best solution for now is just to use Zoom from the browser (and complain to Zoom that this is ridiculous, Ubuntu 22.04 is recent but Wayland has been around for years now). Note: to make screen sharing work in Chrome it’s sufficient to enable WebRTC PipeWire support in chrome://flags.

It would be good if these were two separate question posts, as the solution for Zoom may not be the same as the solution for Microsoft Teams.

Источник

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?

Skype for Business: A Microsoft communications service that provides communications capabilities across presence, instant messaging, audio/video calling, and an online meeting experience that includes audio, video, and web conferencing. Linux: A family of open-source Unix-like operating systems.

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

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.

7 answers

On Google Chrome it is now possible to share either windows or screens by setting chrome://flags/#enable-webrtc-pipewire-capturer to Enabled , no need to switch back to Xorg. The disabling of the Wayland security option as described here didn’t work for me, so if you want sharing using the desktop app, reverting to Xorg seems the only solution for now.

Читайте также:  Tag files in linux

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.

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.

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

Источник

Оцените статью
Adblock
detector