LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 03-30-2012, 08:01 AM   #1
rng
Senior Member
 
Registered: Aug 2011
Posts: 1,198

Rep: Reputation: 47
Reboot/shutdown button of xfce4 not working


The xfce4 reboot and shut-down buttons are not working. I am able to do these actions from the command line with 'sudo reboot' & 'sudo poweroff' commands. I am working on Arch linux. How can I sort this problem? Thanks for your help.
 
Old 03-30-2012, 08:33 AM   #2
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
Maybe this can help: https://wiki.archlinux.org/index.php...om_within_Xfce
 
Old 03-30-2012, 08:39 AM   #3
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,578
Blog Entries: 31

Rep: Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208
Do you mean the Quit panel item does not display the "Logout, Restart, Shutdown, Suspend or Hibernate" dialog -- or that the dialog is displayed and the Restart and Shutdown buttons do not have any effect?

Those are the names on Xfce 4.6.1 on Slackware64 13.1, so may be different on your version of Arch.

If the problem is with the Quit panel item then an easier workaround is Alt+F4 when the desktop is displayed (no other windows open or all other windows minimised).
 
Old 03-30-2012, 09:26 AM   #4
rng
Senior Member
 
Registered: Aug 2011
Posts: 1,198

Original Poster
Rep: Reputation: 47
In response to the queries:

1. The dialog is displayed but clicking Restart and Shutdown buttons does not have any effect.

2. dbus is enabled in the daemons list of rc.conf

3. The .xinitrc file contains: "exec ck-launch-session dbus-launch startxfce4" (without quotes)

4. slim display manager is used

How should I proceed?
 
Old 03-30-2012, 09:35 AM   #5
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
Don't know if this is true for Arch, but IIRC in Slackware the user also have to be a member of the power-group.
 
Old 03-30-2012, 10:20 AM   #6
rng
Senior Member
 
Registered: Aug 2011
Posts: 1,198

Original Poster
Rep: Reputation: 47
I am not on that computer right now. I will check and let you know. Another thing is that these buttons were working all right earlier but they have now stopped working. I have been installing some packages from official repository but cannot say after which particular package the problem occurred.

On another computer where I have installed Arch, I am a part of power group but here the buttons are working all right.
 
Old 03-31-2012, 03:06 AM   #7
rng
Senior Member
 
Registered: Aug 2011
Posts: 1,198

Original Poster
Rep: Reputation: 47
I checked and I am a member of power group.

On clicking the log out dialog button on the xfce panel for the first time, the diablog box appears with all buttons: log out, reboot, shut down etc. On clicking any button, the dialog box goes away but nothing happens- no reboot, poweroff etc.

On clicking on the log out dialog button on the xfce panel again, the dialog box does not appear this time, instead a message box appears saying that: "Failed to receive a reply from the session manager. Session manager must be in idle state when requesting a shutdown."

What does this mean?
 
Old 05-18-2012, 10:18 PM   #8
SLiM-xfce-cklaunch
LQ Newbie
 
Registered: May 2012
Posts: 1

Rep: Reputation: Disabled
I also had this problem, and I managed to discover the solution. First, you mentioned that:
Quote:
4. slim display manager is used
And that:
Quote:
I have been installing some packages from official repository but cannot say after which particular package the problem occurred.
Well it just so happens that SLiM 1.3.3 was released on 2012-02-21! You also mentioned that:
Quote:
3. The .xinitrc file contains: "exec ck-launch-session dbus-launch startxfce4"
One of the changes in that version, as noted in the Arch wiki, was:
Quote:
Note: slim is ConsoleKit capable since version 1.3.3. Unless you happen to run an old version, you must no longer include ck-launch-session from your .xinitrc or slim.conf login_cmd.
The solution (as you might have guessed) is to remove 'ck-launch-session' from your .xinitrc .

Also, I'm pretty sure that ConsoleKit will permit you to power off your machine even if you aren't in the power group.

Hopefully this is helpful to anyone else with this problem, who are searching things such as, *ahem*
xfce shutdown restart power off reboot disabled greyed out
 
Old 10-13-2012, 10:59 AM   #9
sagarb
LQ Newbie
 
Registered: Nov 2011
Posts: 3

Rep: Reputation: Disabled
Thanks a lot SLiM-xfce-cklaunch. That worked.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Slackware-13.37 on older Laptop, configuring XDM with a shutdown and reboot button? markush Slackware 8 10-16-2011 07:58 AM
Trying to remove the shutdown reboot button from the command line fcfury Linux - Newbie 1 07-10-2009 09:02 AM
Logout/shutdown/reboot button misconfigured on GNOME Hungry ghost Linux - Software 1 08-09-2006 02:37 PM
Shutdown/reboot not working in 2.6.10 ? tisam Linux - Software 6 02-12-2005 05:26 PM
Creating a shutdown & reboot button Mithrilhall Linux - Newbie 6 06-30-2003 03:48 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 04:06 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
Open Source Consulting | Domain Registration