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

But it fails with 'not authorized' message.
Locally it works.


Best regards,
Maxim Levitky


_______________________________________________
devkit-devel mailing list
devkit-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/devkit-devel

Reply via email to