LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Desktop (https://www.linuxquestions.org/questions/linux-desktop-74/)
-   -   Halt and reboot buttons in Xfce session aren't active (https://www.linuxquestions.org/questions/linux-desktop-74/halt-and-reboot-buttons-in-xfce-session-arent-active-872905/)

Mr. Alex 04-04-2011 11:46 AM

Halt and reboot buttons in Xfce session aren't active
 
Only to exit the Xfce session but other two are locked. Why? My user is in "power" group and I run Xfce as "startxfce4" from VC after login. Arch Linux.

T0sh1r0 04-05-2011 01:25 AM

Just a guess, but as you never know...
Does your user have the rights to do it? Maybe you have to give it via sudo or something like that...

Mr. Alex 04-05-2011 02:06 AM

I did
Code:

chmod +s `which halt`
chmod +s `which reboot`

so my user can do it.

Mr. Alex 04-12-2011 12:45 PM

Solved!
 
So I changed the start method to
Code:

exec dbus-launch --exit-with-session ck-launch-session startxfce4
in xinitrc and now everything works. More info here.


All times are GMT -5. The time now is 10:48 AM.