LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 05-22-2011, 01:35 AM   #1
chenderson
LQ Newbie
 
Registered: Apr 2008
Location: TX
Distribution: Slackware
Posts: 8

Rep: Reputation: Disabled
Users other than root can not shutdown or reboot from xfce


Slackware 13.37 and XFCE

I have tried what i know (not a lot) and have googled with no luck. I can not figure out how to set up where any user can shutdown or reboot from the menu in XFCE or at all for that matter. When i try to reboot as a user other than root, it asks for my password. When i enter the password it says "Either the password is incorrect or the sys admin disallows shutting down from your account." I am certian i have entered the correct password.

Edited to add this: i have added the regular user to 'power' group with no luck. i would also like it to just shut down without asking me for my password once i figure out how to even let a regular user shut down. - its getting really old having to log out, log in as root just to reboot or shutdown.

Last edited by chenderson; 05-22-2011 at 01:57 AM.
 
Old 05-22-2011, 02:39 AM   #2
disturbed1
Senior Member
 
Registered: Mar 2005
Location: USA
Distribution: Slackware
Posts: 1,133
Blog Entries: 6

Rep: Reputation: 224Reputation: 224Reputation: 224
Quote:
Originally Posted by chenderson View Post
When i try to reboot as a user other than root, it asks for my password.
That is not the default behavior. Reminds me of poorly set up keyring programs.
How are you attempting to reboot/shutdown? You should be able to click on the Xfce menu, choose log out, and reboot/shutdown from there - As a regular user - without being prompted for a password.

Are you starting Xfce with startx from run level 3, KDM, or some other display manager.

Have you installed other 3rd party software? Some software - especially improperly configured precompiled software from certain places - have been known to cause issues.

If you did not do a full install, you might have forgotten an essential package.

After adding/removing/changing users and groups, be sure to log out for the changes to take effect. Here's the list of groups my regular user is a member of.
Code:
grep keith /etc/group
floppy:x:11:keith
audio:x:17:keith
video:x:18:keith
cdrom:x:19:keith
plugdev:x:83:keith
power:x:84:keith
netdev:x:86:keith
If all else fails, in a terminal, su to root and type either poweroff, or reboot.
 
Old 05-22-2011, 04:45 AM   #3
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
IIRC, you have to start XFCE as a session via consolekit to get that working correctly. If you setup your WM with the xwmconfig-command it should be automatically set up to start this way, also if you use a display manager.
 
Old 05-22-2011, 09:07 AM   #4
chenderson
LQ Newbie
 
Registered: Apr 2008
Location: TX
Distribution: Slackware
Posts: 8

Original Poster
Rep: Reputation: Disabled
OK, if i start in run level 3 and use the startx command then the regular users can shut down just fine, when i use runlevel 4 is when i get the issues, will try the config command as mentioned and see what happens, thanks.
 
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
How do users shutdown or reboot in slackware? crusader7 Slackware 13 01-31-2009 10:08 PM
xfce shutdown/reboot buttons warpman Slackware 3 05-13-2008 03:54 PM
Root Authentication required for reboot (and shutdown?) Guitarist88 Linux - General 2 02-28-2007 11:04 PM
How I got XFCE to allow users to shutdown or reboot Slackware 10.2 Old_Fogie Slackware 11 03-22-2006 03:04 PM
RHEL3 Mounting USB after reboot and between reboots: root and non-root users Luis Nunes Linux - Hardware 0 07-20-2005 08:32 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 01:08 PM.

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