Unable to enable file or screen sharing with unmanaged network connection
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gnome-control-center |
Expired
|
Medium
|
|||
gnome-control-center (Ubuntu) |
Triaged
|
Low
|
Unassigned |
Bug Description
I have installed Ubuntu Server 17.10. At request from a colleague I then tried to install ubuntu-desktop and enable screen sharing. However, this did not work as expected. When trying to enable screen sharing (same goes for file sharing), the enable button just jumps straight back to disabled when toggling it. I assumed this had something to do with the fact that the "networks" list at the bottom of the sharing dialog was empty. This appears in the syslog when trying to toggle:
Nov 20 11:31:06 bcubuntu3 gnome-control-
This computer has only a single wired network connection (no wifi). This connection shows in the system menu as "Wired unmanaged" which seems to be the reason that it doesn't show up in the sharing dialogs.
As a workaround, I tried the following things:
1. Change "managed=false" to "managed=true" in /etc/NetworkMan
2. Touch /etc/NetworkMan
3. Change renderer to NetworkManager in /etc/netplan/
1 and 2 was not enough to get NetworkManager to manage the wired interface, but 3, possibly together with one or both of the previous steps did the trick.
When I finally got NetworkManager to manage the wired connection, it did show up in the sharing dialogs, and I was able to enable screen sharing. However, it would seem reasonable to be able to enable sharing even on unmanaged interfaces by some mechanism, especially since unmanaged interfaces seem to be the norm these days.
~$ lsb_release -rd
Description: Ubuntu 17.10
Release: 17.10
gnome-control-
Installed: 1:3.26.1-0ubuntu5
Candidate: 1:3.26.1-0ubuntu5
Version table:
*** 1:3.26.1-0ubuntu5 500
500 http://
100 /var/lib/
1:
500 http://
Changed in gnome-control-center: | |
importance: | Unknown → Medium |
status: | Unknown → Confirmed |
Changed in gnome-control-center: | |
importance: | Medium → Unknown |
status: | Confirmed → Unknown |
tags: | added: bionic |
Changed in gnome-control-center: | |
importance: | Unknown → Medium |
status: | Unknown → Confirmed |
Changed in gnome-control-center: | |
status: | Confirmed → Expired |
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: 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'
2017-09-
control- center- 3.26.0- 1.fc27. x86_64 22.0-4. fc27.x86_ 64
vino-3.