You are not logged in.
Pages: 1
Hello,
I'm currently experiencing problems suspending using hal as a normal user.
I followed the normal instructions for hal and pm-utils, but when I try to use
dbus-send --system --print-reply --dest=org.freedesktop.Hal \
/org/freedesktop/Hal/devices/computer \
org.freedesktop.Hal.Device.SystemPowerManagement.Suspend int32:0
It gives me the following error:
Error org.freedesktop.DBus.Error.AccessDenied: Rejected send message,
1 matched rules; type="method_call", sender=":1.9" (uid=1000 pid=2217
comm="dbus-send) interface="org.freedesktop.Hal.Device.SystemPowerManagement"
member="Suspend" error name="(unset)" requested_reply=0 destination="org.freedesktop.Hal"
(uid=0 pid=1576 comm="/usr/sbin/hald))
This same command does work when I am root, so I suspect it is a permission error but when I use
dbus-send --system --print-reply --dest=org.freedesktop.Hal
/org/freedesktop/Hal/devices/computer org.freedesktop.Hal.Device.GetProperty
string:'power_management.can_suspend'
It does return true
(NOTE: This check was taken from the ubuntu forum but since it returns true rather than an error or something I suspect it is correct)
I tried the user permissions version of the config and that works so I can suspend, but xfce 4 uses hal so I would like this to work anyway
Thanks in Advance
Offline
Try adding power group to the user
Eee PC 2G Surf (700)
Offline
Done, unfortunately it didn't help. Any other ideas?
Offline
Well I figured it out. It turns out that you need to have ck-launch-session in front of startxfce4 in .xinitrc, though without it worked fine before, but it's working now so I'm happy!
Offline
Pages: 1