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.
OS = Slackware 13.1
I'm normally a KDE user but tried xfce4 and found that it works nicely. I wanted to switch to it for a while.
I did find one particular problem:
When you try and end the session, you can Log Out but can not Restart or Shutdown. If you click on Restart or Shutdown it asks for password. Even after entering a valid password, it will not allow the action. (I tried user and root's passwords.) It says "Please enter your password." After entering the password it says, "Either the password you entered is invalid, or the system administrator disallows shutting down this computer with your user account."
(Before you ask; my user is in power group.)
I tinkered with it for a while and decided it must have something to do with KDM and so I switched my default runlevel to 3 and started xfce4 [via startx] and it worked as expected.
Next I tried using xdm instead of kdm and YES, it works as expected. I was able to Restart or Shutdown (no asking for password, it just does it.)
So; What is it about KDM that does not allow xfce4 to restart or shutdown?
BTW, it seems to work ok in -current, (or at least, someone who uses -current told me that he was able to shutdown or restart from xfce4 and he said that he was indeed running kdm). So it's apparently been fixed in our future release... so, again, what is it about kdm that is causing this anomily? Curious...
Dont mean to high jack this thread but I just got the same problem on Slack 13.37 and googling brought me here...
After several months running 13.1 and upgraded to 13.37 about 3 months ago, I just started a few days ago to have this problem. I am not sure why after 28-36 months its happening... I get this error when I try to Suspend to RAM. It usually works. I know that if I reboot the problem will go away, but will come back at some point...
Anyways, adding
Quote:
# Shutdown from XFCE4
%users ALL=(root) NOPASSWD: /usr/libexec/xfsm-shutdown-helper
to /etc/sudoers generates a new problem. I get an error message saying:
Quote:
Failed to suspend session
Suspend and Hibernate are only supported through HAL, which is unavailable
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.