LinuxQuestions.org
Review your favorite Linux distribution.
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 01-30-2008, 02:44 PM   #1
BarkingPerci
LQ Newbie
 
Registered: Jul 2006
Posts: 2

Rep: Reputation: 0
Wolvix - Shutdown won't work in Fluxbox Session


Since there is not Wolvix subforum I have come here to bug you all. I gave Wolvix a try to get some ideas since I had planned to do a Slackware install setup with Fluxbox as the WM. I liked it so much that I installed it to the HD and I plan to live and learn with it a while before attempting my own install.

For some reason while in a fluxbox session the menu commands to Restart or Shutdown do not work. They won't even ask me for my root pw. I can perform the commands from the Terminal as SU (shutdown -r and shutdown -s iirc), but as a normal user clicking on these menu commands does absolutely nothing. I had copied over my .fluxbox menu config files from root to user assuming it was a result of a poorly generated menu. No dice.

These shutdown options do work from a normal user XFCE session, but I want to use Fluxbox primarily.

Does anyone know what the problem is and have any potential solution? Even if I was prompted for the root pw I'd be happy. Thanks so much.
 
Old 01-30-2008, 04:14 PM   #2
Dinithion
Member
 
Registered: Oct 2007
Location: Norway
Distribution: Slackware 14.1
Posts: 446

Rep: Reputation: 59
Fluxbox doesn't really have a shutdown function, as I recall. (And I cant find anything in the the man page either).
Could you print the shutdown menu item of your .fluxbox/menu file?
 
Old 01-30-2008, 05:54 PM   #3
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467

Rep: Reputation: Disabled
As far as I remember the only menu entry was 'exit' which shutdown the x server. Don't remember an entry to shutdown computer, but it is possible to make one. You will need to use visudo to edit your sudoers file and make an entry like:

%users localhost=/sbin/shutdown -h now

or

dive ALL = NOPASSWD: /sbin/shutdown -h now

man sudoers
man visudo
 
Old 01-30-2008, 06:17 PM   #4
dracolich
Senior Member
 
Registered: Jul 2005
Distribution: Slackware
Posts: 1,274

Rep: Reputation: 63
Or, if you don't mind typing root's password every time you shutdown you can create a menu entry with the following command
Code:
xterm -e su -c /sbin/shutdown -h now
 
Old 01-30-2008, 09:09 PM   #5
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467

Rep: Reputation: Disabled
Or, you could try adding yourself to power group:

useradd -G power barkinperci
 
  


Reply

Tags
fluxbox, shutdown, wolvix



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
Diagnosing session shutdown problems LDJ Linux - General 7 03-04-2007 02:26 PM
how 2 make fluxbox a session? h3xis Linux - General 6 08-21-2005 06:01 PM
Opening new session from Fluxbox... pAn1k Linux - Software 3 12-19-2004 07:16 AM
X Session shutdown immediatly !! bart59 Mandriva 2 06-26-2004 12:05 AM
Rox session and fluxbox Nz_Boy_2004 Linux - Software 0 05-31-2004 10:18 PM

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

All times are GMT -5. The time now is 03:53 AM.

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