Public bug reported:

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

** Affects: gnome-control-center (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apport-collected focal

** Tags added: apport-collected focal

** Description changed:

  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

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-control-center in Ubuntu.
https://bugs.launchpad.net/bugs/1877121

Title:
  unable to enable screensharing when using systemd-networkd as netplan
  renderer

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-control-center/+bug/1877121/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to