Quick quesion. On my laptop running a regular Debian Wheezy some output from the shutdown scripts is displayed on the screen when shutting it down. I kinda like seeing everything that's being done, especially to get to know if an error occurs or if some shutdown procedure is taking particularly long. On my waldorf laptop you just see it sitting at user login until the will now halt message comes.
How can I enable displaying this output during shutdown?
Last edited by p950tes (2013-01-16 10:10:07)
/var/log/messages (or messages.1) dmesg last -x
Should give you some of the info you are looking for.
Last edited by dura (2012-12-09 13:15:58)
Thanks for your answer mate. Sorry, I may not have been completely clear as to what I'm looking for. I know I can look at the log files to find the info, but what I'm looking for is to actually see that output live during each shutdown, the way I see it on my debian laptop.
That should just be some simple conf file setting, shouldn't it?
In /etc/default/grub change:
Last edited by dura (2012-12-09 16:12:34)
GRUB_DEFAULT=0 GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian` GRUB_CMDLINE_LINUX_DEFAULT="quiet" GRUB_CMDLINE_LINUX=""
Thanks mate, you're exactly right, hitting ctrl-alt-f7 on shutdown/reboot does indeed display the shutdown messages!
So what do you think could be causing this, SLiM? I use LightDM on my other laptop that do display the messages. Any idea on how to manually switch to tty7 when shutting down?
I think you may be right about SLiM causing this. I have stopped it starting up and have all the shutdown info that you want. Of course, you get the raw login too- which I think you'd like; you are afterall just interested in this because of cosmetics right (or do you have some technical interest?)?
xserver_arguments -nolisten tcp
oh darn - that worked on my waldorf install.
try tty02 etc. ?
the official arch wiki (actually Xfree86 man pages too ) says it should be vt01 etc.... maybe try that.
Last edited by wuxmedia (2012-12-12 22:24:12)
Sorry for the late reply mate, that took a lot of reboots to test them all.
Here are the results:
tty01 login prompt (tty1) tty02 login prompt (tty1) tty03 login prompt (tty1) tty04 login prompt (tty1) tty05 login prompt (tty1) tty06 login prompt (tty1) tty07 login prompt (tty1) vt01 old boot messages vt02 empty screen vt03 empty screen vt04 empty screen vt05 empty screen vt06 empty screen vt07 login prompt (tty1)
I find it a bit curious that vt01 displays the boot messages from when the machine booted (starting rsyslogd, starting sshd etc.), shouldn't the shutdown messages be displayed on the same virtual terminal as the boot messages?
yeah - i bet took me ages to work it on my machine.
i really don't know.
it would make sense what you say.
i will (slowly) have another look at my waldorf partiton.
I figured it out!
I was looking at the xorg arguments under Xorg --help and noticed an argument called "-novtswitch". The description there says "don't immediately switch to new VT", which I thought sounded like it had more to do with the boot process, to not change to vt07 automatically at boot, but decided to try it anyway.
And what do you know, it worked! It does switch to vt07 on boot as it should, but stays on vt07 during the shutdown process, displaying the shutdown procedure.
So the final line in slim.conf is:
xserver_arguments -nolisten tcp -novtswitch
Thanks for the help guys!
Last edited by p950tes (2013-01-16 10:09:27)