Ubuntu 15.04:从没有sudo的控制台暂停


9

多年来,我已经能够使用常规帐户暂停我的基于Ubuntu的计算机

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

这在Ubuntu 15.04中不再有效,其中报告了以下内容:

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

暂停没有密码提示的一个选项是 编辑 sudoers 然后 sudo pm-suspend。有没有其他方法不涉及授予root权限?

Answers:


By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.