Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 01-30-2008, 03:44 PM   #1
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, 05:14 PM   #2
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, 06:54 PM   #3
Senior Member
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,250

Rep: Reputation: 305Reputation: 305Reputation: 305Reputation: 305
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


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

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

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

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

useradd -G power barkinperci


fluxbox, shutdown, wolvix

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

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

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration