Google Chrome hangouts screen sharing doesn't allow to share non chrome windows or desktop when running wayland.
Same issue is happening when running Firefox Hello (soon to be discontinued and removed from Firefox).
This looks like an architectural issue in wayland, requiring a protocol for screenshots, screen (video) recording and screen sharing.
works with Fedora 25
(In reply to Yogesh Sharma from comment #3)
> works with Fedora 25
Are you sure you're in a wayland session? Because to the best of my knowledge the screen sharing protocol doesn't exist yet, and therefore this should not work.
I log out, at login time select gnome (not gnome with xorg) and I can share in google hangouts.
This is not working for me on BlueJeans.
@Luiz possible to try hangouts and report ?
@Yogesh, same result on hangouts. Black screen is shown with mouse cursor.
ps -Af | grep gdm
root 2851 1 0 Dec07 ? 00:00:00 /usr/sbin/gdm
root 3075 2851 0 Dec07 ? 00:00:00 gdm-session-worker [pam/gdm-launch-environment]
gdm 3090 1 0 Dec07 ? 00:00:00 /usr/lib/systemd/systemd --user
gdm 3092 3090 0 Dec07 ? 00:00:00 (sd-pam)
gdm 3097 3075 0 Dec07 tty1 00:00:00 /usr/libexec/gdm-x-session gnome-session --autostart /usr/share/gdm/greeter/autostart
gdm 3099 3097 0 Dec07 tty1 00:00:43 /usr/libexec/Xorg vt1 -displayfd 3 -auth /run/user/42/gdm/Xauthority -nolisten tcp -background none -noreset -keeptty -verbose 3
gdm 3279 3090 0 Dec07 ? 00:00:00 /usr/bin/dbus-daemon --session --address=systemd: --nofork --nopidfile --systemd-activation --syslog-only
gdm 3312 3097 0 Dec07 tty1 00:00:00 /usr/libexec/gnome-session-binary --autostart /usr/share/gdm/greeter/autostart
gdm 3388 3090 0 Dec07 ? 00:00:00 /usr/libexec/at-spi-bus-launcher
gdm 3393 3388 0 Dec07 ? 00:00:00 /bin/dbus-daemon --config-file=/usr/share/defaults/at-spi2/accessibility.conf --nofork --print-address 3
gdm 3396 3090 0 Dec07 ? 00:00:00 /usr/libexec/at-spi2-registryd --use-gnome-session
gdm 3404 3312 0 Dec07 tty1 00:00:02 /usr/bin/gnome-shell
gdm 3451 1 0 Dec07 ? 00:00:00 /usr/bin/pulseaudio --start --log-target=syslog
gdm 3477 3404 0 Dec07 tty1 00:00:03 ibus-daemon --xim --panel disable
gdm 3481 3477 0 Dec07 tty1 00:00:00 /usr/libexec/ibus-dconf
gdm 3484 1 0 Dec07 tty1 00:00:00 /usr/libexec/ibus-x11 --kill-daemon
gdm 3492 3090 0 Dec07 ? 00:00:00 /usr/libexec/xdg-permission-store
gdm 3505 3312 0 Dec07 tty1 00:00:03 /usr/libexec/gnome-settings-daemon
gdm 3575 3090 0 Dec07 ? 00:00:00 /usr/libexec/dconf-service
gdm 3585 3477 0 Dec07 tty1 00:00:00 /usr/libexec/ibus-engine-simple
root 3805 2851 0 Dec07 ? 00:00:00 gdm-session-worker [pam/gdm-password]
I had selected gnome (not gnome with X) but I see gdm-x-session, I am not sure if I am on wayland or not. How can I confirm wayland running ?
I have gnome-session-wayland-session.x86_64 installed.
BTW, system was dnf upgraded from Fedora 24 to 25.
I did this:
SESSION UID USER SEAT
7 28617 lucarval seat0
c1 42 gdm seat0
2 28617 lucarval seat0
$ loginctl show-session 7 -p Type
$ loginctl show-session 2 -p Type
$ loginctl show-session c1 -p Type
I am getting
loginctl show-session 3 -p Type
Even though I am **NOT** selecting X11, system is running X11.
Same issue here, running gnome 3.22.2.
I can share some windows in hangouts but I can't share the entire screen or android emulators.
I'm on Fedora 25. As a speaker in a conference, I was requested to do screensharing via hangouts. It just happened to not work on Fedora 25 whereas it was working on all other OSs and for all other speakers. Several people in the room made fun of Fedora and Linux because of that. "Not being able to share on Hangouts" is the new "not before able to share a screen with a projector" for Linux. I believe in term of image of the OS, this issue is actually a very important one and should be treated with high priority.
For now, one can switch to X Server instead of wayland and enjoy sharing.
After selecting user on GDM login screen, click on gear icon and select X.
Upstream seems to have an issue for this bug:
(No solution, though. I think breaking screen capture is a design goal of Wayland, as a security improvement. The fix is presumably some new API that will have to go into Chrome.)
(In reply to Yogesh Sharma from comment #14)H> For now, one can switch to X Server instead of wayland and enjoy sharing.
> After selecting user on GDM login screen, click on gear icon and select X.
Thanks for the hint. I'll try to think about it in the future. however it's not so convenient and not immediate to figure out when the issue happens; so IMHO, this workaround doesn't reduce the criticity of this issue.
Does the Fedora 25 XFCE Desktop use Wayland? I think I read some reports that XFCE was not using wayland yet?
Anyway, I use Fedora25 with XFCE, and I was able to share out my desktop and single applications in a bluejeans session yesterday. No black screen on the recipient side.
Now, I did know about this bug beforehand, so I installed gdm, and I uncommented:
in the /etc/gdm/custom.conf file.
However, I really had no time to test anything at all. So I don't know if installing gdm and disabling Wayland in the custom.conf file actually had any effect in my XFCE desktop session.
If someone could tell me how to determine if my XFCE session is using Wayland or Xorg, I'd appreciate it.
XFCE does not use Wayland afaik.
How to test: Run
$ GTK_DEBUG=interactive nautilus
$ GTK_DEBUG=interactive gedit
which opens the application window plus Gtk+ inspector. In the inspector, switch to "General" and read the value in the second line ("GDK Backend").
Or have a look at https://fedoraproject.org/wiki/How_to_debug_Wayland_problems#Are_you_running_a_Wayland_session.3F
I'm also impacted by this bug, F25 with Wayland. I can share specific windows in Bluejeans but not my entire screen. I had to revert back to X11 because of this.
I have the same problem (latest kernel-modules-4.11.-200.fc25.x86_64.rpm)
➜ /tmp loginctl
SESSION UID USER SEAT
3 1000 dmitry seat0
c2 42 gdm seat0
2 sessions listed.
➜ /tmp loginctl show-session 3 -p Type
➜ /tmp loginctl show-session c2 -p Type
➜ /tmp gdm --version
➜ /tmp cat /etc/gdm/custom.conf G wayland
# GDM configuration storage
# Uncoment the line below to force the login screen to use Xorg
# Uncomment the line below to turn on debugging
With Fedora 26, I can share chrome windows but other windows can not be shared.
This happens to me as well. On fedora 26. Switching back to Xorg for now.
I'm curious as to the prioritization of this issue?
(In reply to Assaf Muller from comment #23)
> I'm curious as to the prioritization of this issue?
There is work underway for a Wayland screen sharing protocol and a multiplexer for media stream in order to deal with screen sharing safely; see:
All applications, under Wayland, can *only* access their own windows, to avoid the security nightmare of a random process under X11 being able to screenscrape and intercept all input from other processes, which is built into the X protocol itself. The screen sharing feature of Chrome/Hangouts exploits this very insecurity.
Once the negotiation protocol using Wayland, and PipeWire is ready, it will be possible for web browsers (and other applications) to implement screen sharing appropriately under Wayland.
Workaround: In the login screen, switch to "Gnome on xorg".
IMO, it was a mistake to make wayland the default for Fedora as long as Google Hangouts and Bluejeans don't work on Wayland.
Added Teamviewer to list.
I have the same issue with wayland & hangout RUnning 4.15.4-300.fc27.x86_64. Fedora 27 workstation.
Additionally, I'm unable to switch back to wayland as it freezes after login. Currently only able to login via Xorg & Classic without crashing.
What information can I provide to help support this?
GNOME now has an upstream ticket that is relevant to this bug:
(but still unresolved)
This message is a reminder that Fedora 26 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 26. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora 'version'
Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version'
to a later Fedora version.
Thank you for reporting this issue and we are sorry that we were not
able to fix it before Fedora 26 is end of life. If you would still like
to see this bug fixed and are able to reproduce it against a later version
of Fedora, you are encouraged change the 'version' to a later Fedora
version prior this bug is closed as described in the policy above.
Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.
Someone please move this to newer version as it's still the main reason why many people can't use wayland.
Upstream signs of progress, I think:
This should be closed I think. What's needed is to support the screen sharing through PipeWire in WebRTC and that's currently being reviewed in https://webrtc-review.googlesource.com/c/src/+/103504. After it's merged, then we have to wait until the Firefox and Chromium/Chrome are shipped with the WebRTC that contains this change (that's out of scope of Fedora). All the required bits in Wayland, PipeWire and xdg-desktop-portal are ready in F28+.
That version of Pipewire in WebRTC is now merged in commit dd20c9c
More on chrome implementing that change here: