LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices



Reply
 
Search this Thread
Old 04-04-2011, 12:46 PM   #1
Mr. Alex
Senior Member
 
Registered: May 2010
Distribution: Arch + X.org + IceWM
Posts: 1,208

Rep: Reputation: Disabled
Question 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.
 
Old 04-05-2011, 02:25 AM   #2
T0sh1r0
Member
 
Registered: Oct 2010
Location: Liège, Belgium
Distribution: Debian / Slackware
Posts: 47
Blog Entries: 1

Rep: Reputation: 7
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...
 
Old 04-05-2011, 03:06 AM   #3
Mr. Alex
Senior Member
 
Registered: May 2010
Distribution: Arch + X.org + IceWM
Posts: 1,208

Original Poster
Rep: Reputation: Disabled
I did
Code:
chmod +s `which halt`
chmod +s `which reboot`
so my user can do it.
 
Old 04-12-2011, 01:45 PM   #4
Mr. Alex
Senior Member
 
Registered: May 2010
Distribution: Arch + X.org + IceWM
Posts: 1,208

Original Poster
Rep: Reputation: Disabled
Thumbs up 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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
OpenSUSE 11.2 and 11.3 resume session after halt/reboot? m4rtin Suse/Novell 2 10-12-2010 11:58 AM
Apache - Tomcat How to use session ID to confirm an active user session? klroller Linux - Server 4 10-08-2009 10:43 PM
xfce shutdown/reboot buttons warpman Slackware 3 05-13-2008 04:54 PM
Wanted: Halt/Reboot buttons in XDM. Red Hat 5 tmillard Linux - Software 3 11-30-2003 09:38 PM
halt/reboot from a gnome session as normal user tuggy Linux - Software 0 08-28-2003 04:38 PM


All times are GMT -5. The time now is 06:27 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration