When running as a normal user, the “Suspend to Disk” and “Suspend to RAM” option in kpowersave are disabled. They are enabled when I run as root. “powersave -U” works fine as root, too.
When I tried to run “powersave -U” as a normal user, I get
Error org.freedesktop.Hal.Device.PermissionDeniedByPolicy: org.freedesktop.hal.power-management.hibernate no ← (action, result)
I tried to grant permission with
eno:/etc # polkit-auth --grant hibernate --user <user>
I still get the denied error, but when I check for authorization I get
polkit-auth: AuthorizationAlreadyExists: An authorization for uid 1069 for the action hibernate with constraint ‘’ already exists
What am I doing wrong, and why the bleep isn’t powersave enabled for users by default?
So I found a work-around here:
[opensuse] Re: Strange “PermissionDeniedByPolicy” Problem with 11.1](http://linux.derkeiler.com/Mailing-Lists/SuSE/2009-01/msg00911.html)
editing /etc/PolicyKit/PolicyKit.conf to add
allows me to suspend my machine. As a “bonus” USB auto insertion now works, too. Yay.
Just my opinion: it seems horribly broken to have things like suspend and USB auto insertion disabled by default for users.
> Just my opinion: it seems horribly broken to have things like suspend
> and USB auto insertion disabled by default for users.
do not forget that only the administrator should be able to do some
things…but, if you (as administrator) wish to give you (as a
normal user) and the other users the power to suspend, then that is
exactly what you should do…
on the other hand, why should SUSE (or any other distro) be born with
the ability of all users to suspend?
see, (imo) you are thinking of one machine, one user…whereas Linux
is born as one machine and MANY users (and not all of those many
users need to be deciding to SUSPEND the machine while others ARE
using it!! see?)