XFCE 4.6 Cannot shutdown, reboot or suspend system from XFCE
Hi,
running Slack64 13.37 with stock XFCE version 4.6.2 (Xfce 4.6), rebooting, suspend to RAM or shutting down the machine normaly works but randomly and for no apparent reasons, I no longer can perform these actions from within XFCE. When I click the XFCE menu and then "Log Out" and then one of the actions above, I get a pop up asking "Please enter your password". Typing my user's password doesn't work and I get "Either the password you entered is invalid, or the system administrator disallowed shutting down this machine from your user account" (something similar). I have to use a console and then use SU's login to launch a "showdown -h now" to halt, or -r to reboot.. not very useful.. I had this issue in the past (I have found my old threads when I was on Slack 13.1 & 12.2), but never found a reliable or working solution.. What normally happens is that the issue suddenly disappears just as it randomly appeared at first. For this time, I have been running the exact same system for 6 months, and everything was fine until about 3 days ago when I got this annoyance again... Must be a setting somewhere in the system that gets re-written when I log in or out??? Or a bug in XFCE? People have suggested to add Code:
%users ALL=(root) NOPASSWD: /usr/libexec/xfsm-shutdown-helper but if I do this, when I try to log out I get a large message saying: Code:
Failed to suspend session Thanks!! |
Think it is a bug in there, but i'm not sure, :|
Wonder if this is in slackware 14's xfce ... Just a question, your user has priviledge of sudoer ? |
Did you add your user account to the Wheel group? If not, add it, and then check. It should work.
|
Is HAL running?
Code:
ps xa | grep hald Code:
ls -l /etc/rc.d/rc.hald Code:
su - Code:
/etc/rc.d/rc.hald start |
XFCE 4.6 Cannot shutdown, reboot or suspend system from XFCE
I am not certain but I believe making users part of wheel is a security problem.
Users are normally needed only on: lp, dialout, audio, video, cdrom, plugdev, and scanner, as needed. I think I remember this problem was solved for me by reading "mail" which comes with the installation. |
quick shutdown reboot
quit
Code:
ck-launch-session dbus-send --system --print-reply --dest="org.freedesktop.ConsoleKit" /org/freedesktop/ConsoleKit/Manager org.freedesktop.ConsoleKit.Manager.Stop Code:
ck-launch-session dbus-send --system --print-reply --dest="org.freedesktop.ConsoleKit" /org/freedesktop/ConsoleKit/Manager org.freedesktop.ConsoleKit.Manager.Restart 14.0 but should work fine in 13.37 not a fix for your problem, but a work around john |
Quote:
|
Quote:
Quote:
Code:
bash-4.1$ ps xa | grep hald Quote:
Quote:
Trying to add my user to the "power" & "wheel" groups via command line with: Code:
useradd -G power userid Code:
useradd: user 'userid' already exists Code:
groups userid Code:
userid : users dialout AlleyTrolley, the commands you suggested will only stop and restart the XFCE environment wont they?? So it will be only a temporary workaround? EDIT: Now plugging a USB thumbdrive I am getting an error message saying: Quote:
|
Code:
usermod -a -G power userid Code:
usermod -a -G audio cdrom floppy plugdev video power netdev userid |
Quote:
But it is still not working. Maybe reinstalling HAL? is it possible? Which packages should I reinstall ? |
You have to completely log out and back in to reload the user groups. If it doesn't work after that (or a reboot), then I don't know what to say, but I'd just like to make sure it isn't just failing because the group permissions haven't been updated.
|
Logged out and back in. Not working.
:( |
Quote:
|
Quote:
Code:
slackpkg reinstall hal Does root experience the same issues? Btw you can check the groups your user is a member of with: Code:
groups USERNAME |
Before I reinstall HAL, I will answer some of your questions..
I am logging with KDM (the KDE login screen). To automate the GUI login I have modified the /etc/inittab and modified with Code:
# Default runlevel. (Do not set to 0 or 6) my user has the following groups: Code:
userid : users wheel floppy dialout audio video cdrom plugdev power netdev I am not sure if this panel glitch is related to the other problems I am experiencing. If so, then maybe it will help you to help me, if not, then you can just disregard (good for another topic)... |
All times are GMT -5. The time now is 10:33 AM. |