For years I have been able to suspend my Ubuntu-based machine from regular account using

dbus-send --system --print-reply --dest="org.freedesktop.UPower" /org/freedesktop/UPower org.freedesktop.UPower.Suspend

This no longer works in Ubuntu 15.04, where the following is reported:

Error org.freedesktop.DBus.Error.UnknownMethod: Method "Suspend" with signature "" on interface "org.freedesktop.UPower" doesn't exist

One option to suspend without password prompt is to edit sudoers and then sudo pm-suspend. Are there any other ways that do not involve granting root privileges?


Try systemctl suspend That worked for me.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.