i just installed archlinux and i choosed LXDE with Slim as they are light weight .
but i got some problem here with power control .. i cant reboot , shutdown , hibernate , suspend my session ... i only can logout .
here is my PolicyKit.conf file :
<?xml version="1.0" encoding="UTF-8"?> <!-- -*- XML -*- --> <!DOCTYPE pkconfig PUBLIC "-//freedesktop//DTD PolicyKit Configuration 1.0//EN" "[url]http://hal.freedesktop.org/releases/PolicyKit/1.0/config.dtd[/url]"> <!-- See the manual page PolicyKit.conf(5) for file format --> <config version="0.1"> <match action="org.freedesktop.hal.storage.mount-removable"> <return result="yes"/> </match> <match action="org.freedesktop.hal.power-management.shutdown"> <return result="yes"/> </match> <match action="org.freedesktop.hal.power-management.reboot"> <return result="yes"/> </match> </config>
and this is my daemons array :
DAEMONS=(syslog-ng dbus hal networkmanager crond alsa b43)
Are you in the power group ?
yes i am in the power group
[root@myhost cobra]# grep cobra /etc/group network:x:90:cobra audio:x:92:cobra power:x:98:cobra
How do you start lxde? Via 'exec startlxde' in .xinitrc?
This is how i start LXDE .
exec ck-launch-session startlxde
maybe this can help ...
when i typed this in the terminal :
dbus-send --system --print-reply --dest="org.freedesktop.ConsoleKit" /org/freedesktop/ConsoleKit/Manager org.freedesktop.ConsoleKit.Manager.Stop
i got this :
Error org.freedesktop.ConsoleKit.Manager.NotPrivileged: Not Authorized
Is your system updated??
I have never used LXDE, but it seems strange to me that they would still require PolicyKit files considering that HAL has been deprecated and most apps now tend to shy away from using it.
yes my system is updated .
and i dont really love LXDE ... i just wanted to have a nice and fast OS that i can rely on it to do my work .
my computer is 2.5 GB and its not that slow .
and my work is office stuff , programming ( C++ , Java , Python , Mono ) .
if you have another alternative to LXDE that will solve these problems ... i dont mind to switch .
Edit: have you read this:
Last edited by anonymous_user (2010-09-03 15:59:42)
yes anonymous_user ... i have read that and applied it and nothing changed .
You could just create two launchers. The first for shutdown and the second for reboot.
xterm -e "sudo shutdown -h now"
xterm -e "sudo shutdown -r now"
If you don't want to enter your password everytime, just add it to your sudoers files.
Or if you really don't mind switching DE, you could try Xfce.
Last edited by anonymous_user (2010-09-03 16:15:32)
Yeah, adding /sbin/shutdown and /sbin/reboot to your sudoers file with NOPASSWD should do the trick.
I use the same in my i3 setup.