Re: No suspend in XFCE without systemd?
Paul van der Vlis wrote:
> Hello,
>
> I've made a Debian Jessie laptop for a customer, who does not want
> systemd. Because of dependencies with systemd I don't have policykit
> installed.
>
> When I do a "pm-suspend" as root the laptop comes into suspend state,
> but in XFCE the options are grey.
>
> When I do "xfce4-power-manager --dump" then I see that it can do suspend
> and hybernate, but is not authorized to do it. I think it will have to
> do with the missing policykit.
>
> Does somebody know here more?
>
installing upower 0.9.23 as suggested in ubuntu bugtracking provided the
services to dbus but now it complains about PoliciKit1 not found
dbus-send --print-reply --system --dest=org.freedesktop.UPower /org/freedesktop/UPower
org.freedesktop.UPower.Hibernate
Error org.freedesktop.UPower.GeneralError: failed to check authorisation:
GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name
org.freedesktop.PolicyKit1 was not provided by any .service files
will try with this one
-rw-r--r-- 1 95558 апр 8 23:05 upower_0.9.23-2+b1_amd64.deb
-rw-r--r-- 1 34954 апр 8 23:08 libupower-glib1_0.9.17-1_amd64.deb
-rw-r--r-- 1 66266 апр 8 23:38 policykit-1_0.105-3_amd64.deb
Reply to: