You are not logged in.

#1 2009-02-17 18:08:29

halcor
Member
Registered: 2008-05-15
Posts: 71

Lxde shut down

When I click: menu->exit->poweroff/reboot

The computer (laptop) logouts, but it don't poweroff or reboot itself. I know that hal has trouble, and possibly I've got a bad configuration. But I don't find what configuration file I has to modificy.

Maybe hal is correct, I don't know.

Thanks.

Offline

#2 2009-02-17 18:24:48

na12
Member
From: /home/serbia
Registered: 2008-12-23
Posts: 752

Re: Lxde shut down

Did you added user to power group?

Offline

#3 2009-02-17 18:40:36

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: Lxde shut down

LXDE uses openbox as WM. You also probably have to add a line in your sudoers to allow you to access the shutdown/poweroff/reboot commands without a password -- unless of course you want it to ask for a password on every reboot.

Also search for HAL on the wiki and you will find the solution there. you need to edit the PolicyKit.conf file.

Last edited by Inxsible (2009-02-17 18:41:16)


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

#4 2009-02-17 21:43:12

Army
Member
Registered: 2007-12-07
Posts: 1,784

Re: Lxde shut down

Inxsible wrote:

Also search for HAL on the wiki and you will find the solution there. you need to edit the PolicyKit.conf file.

Maybe it works without! I had to remove those lines given in the wiki from the PolicyKit.conf, only WITHOUT them it worked for me. So halcor, try to solve this thing with adding ck-session-launch in front of every exec command in the .xinitrc, here my example

$  cat .xinitrc 
#!/bin/sh

# enable mouse theme
xrdb ~/.Xdefaults

exec ck-launch-session startlxde

Offline

#5 2009-02-18 10:06:16

Paper Lawyer
Member
Registered: 2008-12-11
Posts: 13

Re: Lxde shut down

I have the same issue.   I have created shutdown and reboot options to my Openbox menu (by editing menu.xml) but I need to tidy up my sudoers file as I think I have conflicting statements which is something I noted that someone else recently suffered - see this thread: http://bbs.archlinux.org/viewtopic.php?id=64811


LXDE installed on an Intel E5200 (oc to 3.25ghz), Gigabyte GA-73PVM-S2 motherboard (GEForce 7100 graphics), 2GB 800mhz RAM & a 320GB WD SATA HD.

Offline

Board footer

Powered by FluxBB