[Nix-dev] Re: Suspend in KDE broken

Yury G. Kudryashov urkud+nix at ya.ru
Mon May 24 23:12:59 CEST 2010


Eelco Dolstra wrote:

> Hi,
> 
> I noticed that sleep / suspend-to-RAM in KDE is broken.  Running
> "pm-suspend" as
> root does work.  This may be a PolicyKit/polkit (whatever it's called this
> week) problem, since dbus-send gives this error:
> 
> [eelco at dutibo:~]$ dbus-send --system --print-reply \
>   --dest=org.freedesktop.Hal /org/freedesktop/Hal/devices/computer \
>   org.freedesktop.Hal.Device.SystemPowerManagement.Suspend int32:0
> Error org.freedesktop.Hal.Device.UnknownError: error:
> org.freedesktop.Hal.Error: Could not determine whether caller is
> privileged
>  org.freedesktop.Hal.Device.Error
I found that the same issue had appeared in all major distros before. 
Restarting HAL helps but introduces another problems (i.e. kde stops 
receiving HAL events). I will look how other distros solved the problem.




More information about the nix-dev mailing list