21

I am using wayland with Fedora 25.

Pretty much no screensharing tools work correctly. From Chrome I can share a chrome window but nothing else. I also have to use zoom.us and when I share a window from that the other side just gets a blank screen.

Is there something that needs to be configured for this to work?

  • Screen sharing in Wayland is broken. Try logging into an X11 session instead of Wayland - use the cog next to your username on the login screen to switch. – harrymc Jun 27 '17 at 10:56
  • 1
    yeah that is what I do but I'd rather use wayland and have screensharing working if that is possible – Derek Ekins Jun 27 '17 at 14:06
  • I think it's mostly the full-screen sharing that is a problem. Sharing individual windows might work. – harrymc Jun 27 '17 at 16:18
  • Screen sharing individual windows in Sococo works under Wayland. Zoom now tells you to use X11 instead of Wayland. :( – mart Nov 7 '17 at 8:59
8

Screen sharing in Wayland is known to be broken. You say that sharing works perfectly well in an X11 session, but you prefer to use Wayland.

I am not a Wayland developer (nor a user) and cannot fix the bug.

I have seen comments saying that the problem is mostly with full-screen sharing, so I suggest that you try sharing only individual windows until the bug is fixed.

Otherwise, your only option is to badger the Wayland developers to fix the bug, while still using X11 whenever you need to do screen sharing.

|improve this answer|||||
  • no I am having problems sharing anything except chrome. I've actually not tried sharing a fullscreen window before. – Derek Ekins Jul 4 '17 at 8:03
  • Chrome has its own method. – harrymc Jul 4 '17 at 9:00
  • 1
    With google hangouts, you can share inside wayland (Ubuntu 17.10) individual windows (like firefox and google itself). Not full screen though. – morhook Nov 8 '17 at 14:28
  • Does anyone know if there are any plans for Zoom to support single Window sharing on Wayland? – Kevin Wittek Jan 26 '18 at 12:22
8

The ability to do traditional full screen sharing under Wayland is a missing feature, not a bug.

Realistically our only option is to switch back to Xorg. Ubuntu is actually doing this: https://www.theregister.co.uk/2018/01/30/ubuntu_reverting_to_xorg_in_bionic_beaver/

There are projects coming (e.g. Pipewire) but it seems like a good year or so before they land in Firefox or Slack.

|improve this answer|||||
3

I am using wayland on Ubuntu 17.10.

  • zoom says wayland doesn't have a protocol to share (and recommends using X11)
  • google hangouts shows a black screen on the share full screen, and it is showing on my machine some windows (notably: google chrome and firefox, but not the gnome-terminal).
  • appear.in shows a black screen with a pixel randomly moving

There are few issues reported on this matter https://bugzilla.redhat.com/show_bug.cgi?id=1369218 (in Ubuntu it hasn't been reported yet), on gnome-shell https://bugzilla.gnome.org/show_bug.cgi?id=786565

My fix for Ubuntu 17.10 is to use X11 (you can choose when starting your session in "Ubuntu on Xorg")

|improve this answer|||||
3

Although this is an old question, I've found a solution by using the PipeWire technology with Gnome DE (in my case 3.32) and Chrome (at present version 77).

Check this out: https://wiki.archlinux.org/index.php/PipeWire#WebRTC_screen_sharing

Just open chrome://flags/#enable-webrtc-pipewire-capture, set it as enabled and restart chrome. You'll be able to share entire screen.

I hope it helps

|improve this answer|||||
1

Also found a solution which I've outlined here:

https://github.com/swaywm/sway/issues/5083

In principle steps:

1) put all your "communicators", all software that requires screen sharing (slack, google meet) into some seperate, micro run time that rendering with help of some X server on your host. I'd suggest https://github.com/mviereck/x11docker as it's super light weight and convenient. Also put a remote desktop client software of your choice into that run time entitiy

2) Spin up some remote desktop serving agent on your host, my choice was https://github.com/any1/wayvnc (requires sway 1.4 though!)

3) Connect from your runtime via VNC (or whatever protocol of your choice) to your host running sway.

4) Now you can share screen in your micro runtime the screen showing the host VNC session

Effort is light and more stable than some hack until wayland native screen sharing matures.

|improve this answer|||||

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.