Ubuntu screen sharing on Google Chrome not working

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 :

enter image description here

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.

UPDATEI finally could fix it, seems like the issue is with wayland, switching to X.org fixes it.

This is the post that helped me:

2

3 Answers

Search for the file.conf in /etc/gdm3/ in my case, Ubuntu 20, it's custom.conf

sudo nano /etc/gdm3/custom.conf

uncomment the line

#WaylandEnable=false to be WaylandEnable=false

then reboot

"uncommenting that line will use the Xorg display manager instead of Wayland "

4

I was resolved by going to chrome://flags/#enable-webrtc-pipewire-capturer and changing the value from Default to Enabled.

After reboot Chrome, now the connection works well. Using the same test tools as before, now Chrome use the system selection window for share the screen or a window. Also Teams works well in Chrome over Wayland, and the black screen + mouse is now solved.

Source:

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 windowsenter image description hereLeft 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.

1

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

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

You Might Also Like