[Pkg-utopia-maintainers] Bug#728762: upower: not authorized to run "org.freedesktop.UPower.Suspend"
IOhannes m zmoelnig
zmoelnig at iem.at
Tue Nov 5 08:27:11 UTC 2013
Package: upower
Version: 0.9.23-2+b1
Severity: normal
Dear Maintainer,
afer a recent system upgrade that included upgrading from upower_0.9.23-2 to
upower_0.9.23-2+b1, my xfce4-power-manager cannot suspend/resume/powerdown
anymore.
this seems to be a problem with d-bus permissions:
$ dbus-send --system --print-reply --dest="org.freedesktop.UPower" \
/org/freedesktop/UPower org.freedesktop.UPower.Suspend
Error org.freedesktop.UPower.GeneralError: not authorized
$
similarily `xfce4-power-manager --dump` gives me:
> ---------------------------------------------------
> Xfce power manager version 1.2.0
> With policykit support
> With network manager support
> With DPMS support
> ---------------------------------------------------
> Can suspend: True
> Can hibernate: True
> Can spin down hard disks: True
> Authorized to suspend: False
> Authorized to hibernate: False
> Authorized to shutdown: False
> Authorized to spin down hard disks: False
> Has battery: True
> Has brightness panel: True
> Has power button: True
> Has hibernate button: True
> Has sleep button: True
> Has LID: True
i'm not entirely sure which package is to blame here, but 'xfce4-power-manager'
has not been updated, whereas 'upower' (and 'dbus'!) has been, so i suspect the
problem to be somewhere here.
i'm using lightdm_1.8.3-1 as my login-manager.
also note that the above call to `dbus-send` successfully triggers a suspend if
launched from the console (TTY1).
i haven't configured anything in /etc/pam.d/
mgfards
IOhannes
-- System Information:
Debian Release: jessie/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 3.11-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_AT.utf8, LC_CTYPE=de_AT.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages upower depends on:
ii dbus 1.6.18-1
ii libc6 2.17-93
ii libdbus-1-3 1.6.18-1
ii libdbus-glib-1-2 0.100.2-1
ii libglib2.0-0 2.36.4-1
ii libgudev-1.0-0 204-5
ii libimobiledevice4 1.1.5-2
ii libplist1 1.10-1
ii libpolkit-gobject-1-0 0.105-4
ii libupower-glib1 0.9.23-2+b1
ii libusb-1.0-0 2:1.0.17-1+b1
ii pm-utils 1.4.1-12
ii systemd 204-5
ii udev 204-5
Versions of packages upower recommends:
ii policykit-1 0.105-4
upower suggests no packages.
-- no debconf information
More information about the Pkg-utopia-maintainers
mailing list