[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: shutdown -h: must hit ALT CTRL F7 else miss messages



On Tue, Jul 09, 2002 at 03:54:11AM +0800, Dan Jacobson wrote:
| I'd just like to mention, and I tried the posted suggestions, but:
| say I'm in a usual Xwindow when I issue the shutdown -h now command.
| I am then sent to tty1 where I miss all the nice shutting down this
| and that service messages.  All I will see is the final "Power off".
| 
| If I want to see the nice shutting down this and that service
| messages, I must hit ALT CTRL F7 right away.

| If you post a solution (again), please test it first.

Solution :
    Don't run 'shutdown -h' in an xterm.

Instead, click the logout button in your WM (or desktop), then choose
the shutdown option from your display manager.

I suspect that all the output goes to vc7 because that's where the
command was run from.  However, until X is killed, you won't see any
of that output since it overwrites its own stuff on vc7.  When X goes
away, you are sent to vc1.  Now you don't see any messages because you
sent them to vc7.  Using my technique, the messages will come out on
vc1 and that's where you'll be sent.

Alternatively, switch to vc1 first then run shutdown.

-D

-- 
 
If your company is not involved in something called "ISO 9000" you
probably have no idea what it is.  If your company _is_ involved in ISO
9000 then you definitely have no idea what it is.
                                (Scott Adams - The Dilbert principle)
 
http://dman.ddts.net/~dman/

Attachment: pgpu071vNQpRF.pgp
Description: PGP signature


Reply to: