How to suspend/hibernate remote system without root

Maxim Levitsky maximlevitsky at
Sun Nov 8 15:20:44 PST 2009

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 

--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.

Best regards,
Maxim Levitky

More information about the devkit-devel mailing list