sharing relies on network manager handling the connection

Bug #1877121 reported by Yannik
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gnome-control-center
Fix Released
Unknown
gnome-control-center (Ubuntu)
Triaged
Low
Unassigned

Bug Description

It's impossible to enable screen sharing when systemd-networkd is used as netplan renderer.
The following message is logged in journalctl when trying to enable screen sharing in the settings:

Failed to enable service vino-server: GDBus.Error:org.freedesktop.DBus.Error.InvalidArgs: Sharing cannot be enabled on this network, status is '0'

The happens when a connection is managed by systemd-networkd instead of NetworkManager:

$ networkctl
IDX LINK TYPE OPERATIONAL SETUP
  1 lo loopback carrier unmanaged
  2 enp1s0 ether routable configured

$ nmcli d status
DEVICE TYPE STATE CONNECTION
enp1s0 ethernet unmanaged --
lo loopback unmanaged --
---
ProblemType: Bug
ApportVersion: 2.20.11-0ubuntu27
Architecture: amd64
CasperMD5CheckResult: skip
DistroRelease: Ubuntu 20.04
InstallationDate: Installed on 2020-01-17 (110 days ago)
InstallationMedia: Ubuntu 19.10 "Eoan Ermine" - Release amd64 (20191017)
Package: gnome-control-center 1:3.36.1-1ubuntu5
PackageArchitecture: amd64
ProcVersionSignature: Ubuntu 5.4.0-29.33-generic 5.4.30
Tags: focal
Uname: Linux 5.4.0-29-generic x86_64
UpgradeStatus: Upgraded to focal on 2020-04-29 (7 days ago)
UserGroups:

_MarkForUpload: True

Revision history for this message
Yannik (yannik-5) wrote : Dependencies.txt

apport information

tags: added: apport-collected focal
description: updated
Revision history for this message
Yannik (yannik-5) wrote : ProcCpuinfoMinimal.txt

apport information

Revision history for this message
Yannik (yannik-5) wrote : ProcEnviron.txt

apport information

Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for your bug report, that's an upstream issue and ideally should be sent to them on https://gitlab.gnome.org/GNOME/gnome-control-center/issues if you could do that?

GNOME currently relies on network-manager, it wouldn't be surprising if other settings panel don't handle well networkd being used instead (the network one for example)

summary: - unable to enable screensharing when using systemd-networkd as netplan
- renderer
+ sharing relies on network manager handling the connection
Changed in gnome-control-center (Ubuntu):
importance: Undecided → Low
status: New → Confirmed
Revision history for this message
Yannik (yannik-5) wrote :
Revision history for this message
Sebastien Bacher (seb128) wrote :

thanks!

Changed in gnome-control-center (Ubuntu):
status: Confirmed → Triaged
Changed in gnome-control-center:
status: Unknown → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.