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 |
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 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 |
Thanks aus9. Seems to work fine now!
|
All times are GMT -5. The time now is 09:52 AM. |