You are not logged in.
Hello!
I am using the r20111125 release of crunchbang, but i have an annoying problem with it. It cannot shutdown. When i send it to down, the gui disappear, and i see the dmesg lines from boot, and the "login:" line, but i can't write there, so the machine power off only when i press and hold the power button.
Can somebody help in this?
Thank you!
Last edited by vrbst (2011-12-16 18:50:41)
"turbos make torque and torque makes fun"
Offline
Welcome to #!
Hm, could be again a Slim issue.
We will see what others say to this. But I had this problem with Slim, the display manager.
Offline
Thank you!
I use #! since the previous release, and i hadn't similar problem before i have started to use r20111125.
I look forward others reply.
"turbos make torque and torque makes fun"
Offline
As there was no reply till now. You could try to install LightDM and see if you can shut down normally.
Otherwise you maybe have to change something to be able to shut down with Slim or I am totally in the dark with my idea. I personally do not use Slim for various reasons and also have no further experience with it.
Offline
I had not used SLIM until this release . . . and I have the same problem.
When I 'shutdown' the new #!, it reverts back to the Log-in screen (with no options to actually shutdown or reboot the computer)
I don't reboot the OS very often, but I had to do a 'hard-stop' (manually turning off the computer)
Registered Linux User: #497030
my DeviantART page |
-- #!Crunchbang- Sid "Animal" (Fluxbox) -- LMDE Fluxbox Edition -- Manjaro-Fluxbox --
Offline
Offline
Hello!
Thank you!
Jo napot,
does the computer turn off after the command
sudo shutdown -h nowWhat about the "Reboot" button in the menu, does the computer reboot normally?
Sweaty lads picking up the soap | I love the new "Ignore user" button
Offline
From the Arch/Wiki about SLIM
Shutdown, reboot, suspend, exit, launch terminal from SLiM
You may shutdown, reboot, suspend, exit or even launch a terminal from the SLiM login screen. To do so, use the values in the username field, and the root password in the password field:
To launch a terminal, enter console as the username (defaults to xterm which must be installed separately... edit /etc/slim.conf to change terminal preference)
For shutdown, enter halt as the username
For reboot, enter reboot as the username
To exit to bash, enter exit as the username
For suspend, enter suspend as the username (suspend is disabled by default, edit /etc/slim.conf as root to uncomment the suspend_cmd line and, if necessary modify the suspend command itself (e.g. change /usr/sbin/suspend to sudo /usr/sbin/pm-suspend))
I guess, we just have to learn how SLIM works. 
Last edited by vrkalak (2011-12-09 05:26:06)
Registered Linux User: #497030
my DeviantART page |
-- #!Crunchbang- Sid "Animal" (Fluxbox) -- LMDE Fluxbox Edition -- Manjaro-Fluxbox --
Offline
^ They must be kidding... Damned, this is really ridiculous. Thanks for this post, vrkalak.
Sweaty lads picking up the soap | I love the new "Ignore user" button
Offline
Jo napot,
does the computer turn off after the command
Jo napot! 
No, the computer doesn't turn off after it, and when i push the "reboot" button, the result is the same.
Now i noticed: When the gui was gone, the tty1 shown, and on the tty7 seen the usually "halt" messages.
"turbos make torque and torque makes fun"
Offline
How to Restart Slim
In the event you need to restart slim, use the following commands;
sudo /etc/init.d/slim restartIf you restart Slim from within X (graphical environment), you will drop to a command line interface (console), and Slim does not restart.
Don't Panic, simply run the command a second time.
Once restarted, you will automatically be logged into the default session.
Re-posted from: http://zenix-os.net/live.html
Registered Linux User: #497030
my DeviantART page |
-- #!Crunchbang- Sid "Animal" (Fluxbox) -- LMDE Fluxbox Edition -- Manjaro-Fluxbox --
Offline
I've installed gdm instead of slim, but the problem still remaining. Unfortunately nothing helps... 
"turbos make torque and torque makes fun"
Offline
I had the same problem before, so I made a direct fix, by putting this in my menu.xml
<separator/>
<item label="Reboot">
<action name="Execute">
<execute>terminator --command="sudo shutdown -r now"</execute>
</action>
</item>
<item label="Exit">
<action name="Execute">
<execute>terminator --command="sudo shutdown -h now"</execute>
</action>
</item>"To me, the extraordinary aspect of martial arts lies in its simplicity. The easy way is also the right way, and martial arts is nothing at all special; the closer to the true way of martial arts, the less wastage of expression there is." - Bruce Lee
Offline
I had the same problem if I were at home where a network drive is mounted via fstab entries. Using the umount command before shutting down worked.
Offline
I had the same problem if I were at home where a network drive is mounted via fstab entries. Using the umount command before shutting down worked.
Scored!
I have a mounted network drive too. When i unmount it, the machine will power off without any problem! Thank you!
Edit:
My solution, avoid type root pass to shutdown or reboot:
I've modified the /usr/bin/cb-exit:
os.system("umount ~/server") #edit the path to your mounting point
os.system("dbus-send --print-reply --system --dest=org.freedesktop.Hal /org/freedesktop/Hal/devices/computer org.freedesktop.Hal.Device.SystemPowerManagement.Reboot")
.
.
.
os.system("umount ~/server") #edit the path to your mounting point
os.system("dbus-send --print-reply --system --dest=org.freedesktop.Hal /org/freedesktop/Hal/devices/computer org.freedesktop.Hal.Device.SystemPowerManagement.Shutdown")Last edited by vrbst (2011-12-14 21:59:31)
"turbos make torque and torque makes fun"
Offline
Excellent. That's an even better solution you have. I'll put the script in sometime soon too.
Offline
Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.