After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 788097 - Cannot enable desktop sharing
Cannot enable desktop sharing
Status: RESOLVED OBSOLETE
Product: gnome-control-center
Classification: Core
Component: Sharing
3.26.x
Other Linux
: Normal normal
: ---
Assigned To: Control-Center Maintainers
Control-Center Maintainers
Depends on:
Blocks:
 
 
Reported: 2017-09-24 14:38 UTC by Tomasz Torcz
Modified: 2021-06-09 16:34 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Tomasz Torcz 2017-09-24 14:38:38 UTC
Sumary says it all. The ON/OFF switch in screen sharing tab is stuck in OFF position and is not reacting to clicks. Thus, screen sharing cannot be enabled.

Logs show only:
2017-09-24T16:11:34+0200 mother.pipebreaker.pl gnome-control-c[25851] Failed to enable service vino-server: GDBus.Error:org.freedesktop.DBus.Error.InvalidArgs: Sharing cannot be enabled on this network, status is '0'

control-center-3.26.0-1.fc27.x86_64
vino-3.22.0-4.fc27.x86_64
Comment 1 Emil Styrke 2017-11-22 13:18:47 UTC
This happens to me as well.  In my case it is because I have only wired network access, but the network connection is "unmanaged" by NetworkManager (and does not show up on the networks page of gnome-control-center).  This in turn leads to the networks list in the sharing dialog being empty.

I had to jump through various hoops to get NetworkManager to manage the wired connection (I'm running Ubuntu 17.10 'Artful'), but as soon as the connection showed up on the networks page, the sharing dialog started working too.

This exact same issue also affects the file sharing dialog, btw.
Comment 2 Jeremy Bicha 2017-11-22 16:37:07 UTC
To clarify, Emil installed Ubuntu 17.10 starting from a server install which I believe does not use NetworkManager by default. I believe the vast majority of people using Ubuntu won't be affected by this issue.

https://launchpad.net/bugs/1733322
Comment 3 Jane Foot 2017-12-18 21:22:37 UTC
I have this problem too for my wired connection only.
It is managed by Network Manager and yet it doesn't appear on the the Network List.
If I connect to a Wifi network that will appear on the list and allow me to toggle on/off.

Ubuntu 17.10 (not headless server edition!)
vino 3.8.1-0ubuntu12
gnome 3.26
Comment 4 Jane Foot 2017-12-18 21:46:26 UTC
I have tried the workaounds listed here
https://bugs.launchpad.net/ubuntu/+source/gnome-control-center/+bug/1733322

> 1. Change "managed=false" to "managed=true" in /etc/NetworkManager/NetworkManager.conf as suggested in https://askubuntu.com/a/2905
> 2. Touch /etc/NetworkManager/conf.d/10-globally-managed-devices.conf as suggested in https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/1676547
> 3. Change renderer to NetworkManager in /etc/netplan/01-netcfg.yaml

(I didn't need to do 3 as it was already set like that)

But its still broken.
Comment 5 Jane Foot 2017-12-19 16:59:45 UTC
Just realized I have the same error in my syslog as Tomasz:

gnome-control-c[27434]: Failed to enable service vino-server: GDBus.Error:org.freedesktop.DBus.Error.InvalidArgs: Sharing cannot be enabled on this network, status is '0'
Comment 6 André Klapper 2021-06-09 16:34:13 UTC
GNOME is going to shut down bugzilla.gnome.org in favor of gitlab.gnome.org.
As part of that, we are mass-closing older open tickets in bugzilla.gnome.org
which have not seen updates for a longer time (resources are unfortunately
quite limited so not every ticket can get handled).

If you can still reproduce the situation described in this ticket in a recent
and supported software version, then please follow
  https://wiki.gnome.org/GettingInTouch/BugReportingGuidelines
and create a new bug report at
  https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/

Thank you for your understanding and your help.