LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 04-26-2012, 06:50 PM   #1
aswam
LQ Newbie
 
Registered: Mar 2012
Distribution: Ubuntu
Posts: 5

Rep: Reputation: Disabled
Exclamation Combination of nodm and fluxbox -- cannot close fluxbox or shutdown properly


Hi,

I've been working on a respin of Debian Live, and have installed nodm (to login automatically) and fluxbox (as my window manager).

Now, i'm not sure if this is normal behaviour, but when I click on exit in the fluxbox menu, fluxbox immediately restarts. Could this be due to nodm, and how would I fix it?

Again, the same problem occurs when I type in the shutdown command in the terminal -- it goes to a terminal screen, then shows fluxbox again, then shuts down with a message saying it was not able to terminate all processes. Should I consider stoping nodm or x each time I want to shutdown, before I type the shutdown command?

One last thing, reboot works fine. No issue with nodm or fluxbox when I reboot the system from a x terminal. But this still obviously leaves the shutdown issue.

Thanks in advance,
aswam
 
Old 04-29-2012, 06:56 AM   #2
aus9
LQ 5k Club
 
Registered: Oct 2003
Location: Western Australia
Distribution: Icewm
Posts: 5,842

Rep: Reputation: Disabled
hi I am not a programmer so try at own risk

1) create a script to both things at once

contents of /usr/local/bin/fluxstop (call it what you like)

#!/bin/sh
/etc/init.d/nodm stop
/sbin/shutdown -h now

Code:
sudo su
chmod 755 /usr/local/bin/fluxstop  (to make it executable for all users)


(and to test run)

fluxstop


2) I use nodm but not with flux and yes thats normal for nodm

3) if it works try to find the config for fluxbox maybe in /etc and look for the line that reads something like

halt /sbin/shutdown -h now

if it exists change it to

halt /usr/local/bin/fluxstop


good luck
 
Old 05-01-2012, 06:20 PM   #3
aswam
LQ Newbie
 
Registered: Mar 2012
Distribution: Ubuntu
Posts: 5

Original Poster
Rep: Reputation: Disabled
Thanks aus9. Seems to work fine now!
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Fluxbox 1.1.1 - Can't get a theme to work properly hubabuba Linux - Software 5 03-26-2009 02:40 PM
Fluxbox terminal and shutdown phantom_cyph Linux - Desktop 6 03-27-2007 03:29 PM
cant edit text files properly in vi and fluxbox soldan Linux - Newbie 5 11-18-2006 12:02 PM
Fluxbox windows do not maximize properly moo-cow Linux - Desktop 3 11-08-2006 06:38 AM
Fluxbox error /usr/share/fluxbox/nls/en_GB/fluxbox.cat humbletech99 Debian 2 12-29-2005 10:16 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 06:40 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