GNOME Bugzilla – Bug 788097
Cannot enable desktop sharing
Last modified: 2021-06-09 16:34:13 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
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.
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
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
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.
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'
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.