You are not logged in.
Hey guys
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)
Offline
Are you in the power group ?
There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !
Offline
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
Offline
How do you start lxde? Via 'exec startlxde' in .xinitrc?
Offline
This is how i start LXDE .
exec ck-launch-session startlxde
Offline
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
Offline
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.
There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !
Offline
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 .
Offline
Edit: have you read this:
http://wiki.archlinux.org/index.php/LXD … _from_LXDE
Last edited by anonymous_user (2010-09-03 15:59:42)
Offline
yes anonymous_user ... i have read that and applied it and nothing changed .
Offline
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)
Offline
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.
There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !
Offline