Linux - GeneralThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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).
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.
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."
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
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.