Maxim Levitsky wrote:
> dbus-send
> --print-reply
> --system --dest=org.freedesktop.DeviceKit.Power
> /org/freedesktop/DeviceKit/Power org.freedesktop.DeviceKit.Power.Suspend
>
> But it fails with 'not authorized' message.
> Locally it works.
>
>
You need to setup polkit authorization for the
I need to suspend/hibernate remote system, and I currently use an ugly
sudo without passwork hack.
Is this possible to do with devicekit?
I have tried the
dbus-send
--print-reply
--system --dest=org.freedesktop.DeviceKit.Power
/org/freedesktop/DeviceKit/Power org.freedesktop.DeviceKit.Power.S