You are not logged in.
Hi,
recently, suspend stopped working for me from regular desktop environment, ie KDE.
now, suspend as such works, ie
sudo pm-suspend
works just fine, but the d-bus command as suggested on wiki doesn't work:
$> dbus-send --system --print-reply --dest="org.freedesktop.UPower" /org/freedesktop/UPower org.freedesktop.UPower.Suspend
Error org.freedesktop.UPower.GeneralError: not authorized
If I try the above with sudo, it does work, though. So I reckon the problem must be somewhere in upower policy settings,
I also noticed that the file /etc/dbus-1/system.d/org.freedesktop.UPower.conf has been modified recently,
any tips how to fix this?
Last edited by kralyk (2012-05-11 19:51:29)
Offline
I have the same problem since today. Also, NetworkManager doesn't allow me to connect to a network: "(32) Not authorized to control networking."
I suspect this has something to do with PolicyKit, but I don't know what caused this. I don't think I have upgraded anything related to PolicyKit or UPower recently. I did upgrade kernel to 3.3.5-1 last night – maybe I should try to downgrade to the previous version.
Offline
I tried downgrading the kernel just now (to 3.3.4) and it did not help. This seems like a user-space thing anyway...
In pacman log, I noticed only three suspicious upgrades: kernel, kde and slim. Do you use slim?
EDIT: consolekit downgrade didn't help, too...
Last edited by kralyk (2012-05-11 19:46:27)
Offline
Solved.
Remove ck-launch-session from xinitrc,
it's not needed any more and the problem was because two sessions were started simultaneously, one of which was inactive.
Offline
Thanks, that solved the problem also for me!
Offline
Thank you very much! It worked for me too.
Offline