Public bug reported:
Xubuntu Artful 17.10
xfce4-power-manager: 1.4.4-4ubuntu2
network-manager: 1.8.2-1ubuntu3
Before sleeping, xfce4-power-manager attempts to call
org.freedesktop.NetworkManager.Sleep, but permission is denied by
polkit. A desktop notification is displayed with the message
"GDBus.Error:org.freedesktop.DBus.Error.AccessDenied: Permission
denied".
Network Manager uses a systemd suspend inhibit delay and automatically
puts itself to sleep before suspending. So, xfce4-power-manager
attempting to put Network Manager to sleep is redundant.
I suggest that xfce4-power-manager is configured with "--disable-
network-manager" to disable Network Manager support.
Alternatively, if you would like to retain Network Manager support for
when logind is not available:
1. Modify the xfpm_power_sleep() function in xfpm-power.c so that
xfpm_network_manager_sleep() is only called if LOGIND_RUNNING() returns
false.
2. Create a polkit rule in /usr/share/polkit-1/rules.d/ so that xfce4
-power-manager has permission to call
org.freedesktop.NetworkManager.Sleep. I'm not very familiar with polkit,
so there might be a better way to accomplish the same thing.
** Affects: xfce4-power-manager (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1713224
Title:
Disable Network Manager support
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xfce4-power-manager/+bug/1713224/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs