[SOLVED] XFCE 4.6 Cannot shutdown, reboot or suspend system from XFCE
SlackwareThis Forum is for the discussion of Slackware Linux.
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.
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?
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.
Just a question, your user has priviledge of sudoer ?
Yes
Quote:
Is HAL running?
Yes
Code:
bash-4.1$ ps xa | grep hald
2241 ? Ssl 0:00 /usr/sbin/hald --daemon=yes
2314 ? S 0:00 hald-runner
2343 ? S 0:00 hald-addon-input: Listening on /dev/input/event0 /dev/input/event3 /dev/input/event6 /dev/input/event5 /dev/input/event1 /dev/input/event2 /dev/input/event4
2350 ? S 0:00 /usr/libexec/hald-addon-generic-backlight
2364 ? S 0:00 hald-addon-acpi: listening on acpid socket /var/run/acpid.socket
2365 ? S 0:02 hald-addon-storage: polling /dev/sr0 (every 2 sec)
10702 pts/0 R+ 0:00 grep hald
Quote:
Did you add your user account to the Wheel group?
Not manually.
Quote:
I would recommend to add the power group to this list, this may solve your problems.
OK. According to KUser, my user is not a member of the power & wheel groups.
Trying to add my user to the "power" & "wheel" groups via command line with:
Code:
useradd -G power userid
useradd -G wheel userid
returns
Code:
useradd: user 'userid' already exists
However
Code:
groups userid
returns only
Code:
userid : users dialout
So apparently KUser does not seems to be too sharp by not talking the same stuff as the rest of the system??? In KUser the checkboxes beside power & wheel for my user are NOT checked.
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:
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.
EDIT: Now plugging a USB thumbdrive I am getting an error message saying:
Quote:
Failed to mount "8G Removable Volume".
Rejected send message, 1 matched rules; type="method_call", sender=":1.63" (uid=1000 pid=10912 comm="exo-mount) interface="org.freedesktop.Hal.Device.Volume" member="Mount" error name="(unset)" requested_reply=0 destination="org.freedesktop.Hal" (uid=0 pid=2241 comm="/usr/sbin/hald)).
Wouldn't there be something wrong with my HAL???
It also happens with inserting a CD or DVD..... Whats wrong with my setup? Everything was working fine until about 2 weeks ago when I started to have problems.. Could it be a package that I installed? If so, is there a way to list all packages by installation date so I can track which one(s) are causing problems??
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)
id:4:initdefault:
Root does NOT experience these issues. Thanks for pointing this out... I rarely (if ever) use root's account and I did not think of trying.
my user has the following groups:
Code:
userid : users wheel floppy dialout audio video cdrom plugdev power netdev
Im really not sure whats going on. Then after I logged out and back in as root to try, I rebooted the system to see if root could do this action which seems so, but once I logged back as normal user (after system reboot) I was shown the usual desktop but the bottom panel was gone. First time it happens to me. running xfce4-panel brought it back.
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)...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.