How to configure dbus to allow ssh-user to suspend server?
Posted
by
Produnis
on Ask Ubuntu
See other posts from Ask Ubuntu
or by Produnis
Published on 2011-01-14T21:42:08Z
Indexed on
2011/01/14
21:58 UTC
Read the original article
Hit count: 278
I try to suspend my server using dbus and UPower. The server runs Ubuntu LucidLynx 64bit.
While everything works fine if I am sitting directly at the machine, it won't work via ssh. If I connect to the server via ssh and try to suspend the machine using dbus and upower, it gives back
dbus.exceptions.DBusException: org.freedesktop.UPower.GeneralError: not authorized
Could anyone please tell me how to configure dbus in order to allow ssh-users to suspend the machine?
© Ask Ubuntu or respective owner