You are not logged in.

#1 2009-02-28 17:28:58

zezke
Member
Registered: 2009-02-28
Posts: 15

XFCE shutdown just logs out

Hello everybody, after a few hours i got XFCE working with the SLiM login manager, but when i click the shutdown or reboot icon it just logs out and shows the login screen again. I tried both the daemon and inittab method for SLiM. I have verified that i am a member of the power group. I also tried this:

What used to work for me when I used Xfce was to add a line to the /etc/sudoers file as root:
Code:

%shutdown ALL=(root) NOPASSWD: /usr/lib/xfce4/xfsm-shutdown-helper

After doing that the shutdown and restart buttons show up when you quit.  Or at least it used to work that way.

Edit: Duh... and of course you would have to add yourself to a group called shutdown in /etc/group.

I found this here: http://bbs.archlinux.org/viewtopic.php?id=44913

Now i am out of ideas, so anyone?

Last edited by zezke (2009-03-01 11:34:41)

Offline

#2 2009-02-28 17:39:26

peart
Member
From: Kanuckistan
Registered: 2003-07-28
Posts: 510

Re: XFCE shutdown just logs out

Do you have HAL running, and if so, are you using ck-launch-session in your .xinitrc?

Offline

#3 2009-02-28 17:42:26

zezke
Member
Registered: 2009-02-28
Posts: 15

Re: XFCE shutdown just logs out

Yes, hal is running and no, i don't. Should I?

Offline

#4 2009-02-28 17:44:02

theringmaster
Member
From: Air Force
Registered: 2007-07-16
Posts: 581
Website

Re: XFCE shutdown just logs out

yeah I had to put that in my .xinitrc too

instead of exec startxfce4

put exec ck-launch-session startxfce4


Check me out on twitter!!! twitter.com/The_Ringmaster

Offline

#5 2009-02-28 17:52:58

zezke
Member
Registered: 2009-02-28
Posts: 15

Re: XFCE shutdown just logs out

Okay thank you guys it works correctly now. But it just shows the terminal one login screen instead of console output of what it is shutting down, is that normal?

Never mind, I solved it by using the inittab method again instead of daemon. Thanks a lot!

Last edited by zezke (2009-02-28 17:57:10)

Offline

#6 2009-03-01 11:36:09

zezke
Member
Registered: 2009-02-28
Posts: 15

Re: XFCE shutdown just logs out

The problem is back. I just enabled "allow xfce to manage desktop" and i added conky to the list of autostarted applications. In fact the problem is even worse, because i doesn't even show the login/reboot/shutdown window anymore.

Offline

Board footer

Powered by FluxBB