I'm trying to share my screen using Google Chrome or Microsoft Teams and I only can share the browser, I can't share my entire screen, it appears black:
Trying to select share full screen but it's black :
I thought the issues was due to having 3 monitors, but I disconnected both and still have the same issue. I'm using the latest version of Ubuntu and Google chrome, I also tried with chromium, and nothing.
I use this laptop for my work and I don't want to switch back to Windows... Programming on Windows is painfull, I need to get this to work.
UPDATE I finally could fix it, seems like the issue is with wayland, switching to X.org fixes it.
This is the post that helped me: https://askubuntu.com/a/968265/1024151
Search for the file.conf in /etc/gdm3/ in my case, Ubuntu 20, it's custom.conf
uncomment the line
#WaylandEnable=false
to beWaylandEnable=false
then
reboot
"uncommenting that line will use the Xorg display manager instead of Wayland "
I was resolved by going to
chrome://flags/#enable-webrtc-pipewire-capturer
and changing the value fromDefault
toEnabled
.Source: https://github.com/IsmaelMartinez/teams-for-linux/issues/455
That's a Chrome bug, also happens for me in Ubuntu 20.04.
Workaround: While you are in the meeting, join the same meeting from another browser window/tab but this time as presenter. It will allow you to share things as expected: A whole screen, an application, Chrome tab, a specific window.
see below both windows Left one as regular invited, right one as presenter, both in the same meeting.
Actually even after any fix, I will keep using it in this way since I can see what I'm sharing to others as others would see it, very convenient ;)
I know the answer is kind of late, but hope it helps to others with the same issue.
Go to chrome://flags/#enable-webrtc-pipewire-capturer using the address bar of your browser. Change WebRTC PipeWire Support from Default to Enabled on the drop down menu. Click Relaunch