Re: Why does tty1 become the current VT on reboot/halt?

1998-07-15 Thread Daniel Martin at cush
"Noah L. Meyerhans" <[EMAIL PROTECTED]> writes:

> Hey all.  Why is it that when I reboot or halt my machine, I'm
> automatically switched to the first virtual console?  I don't like this at
> all, because all of the messages coming from the rc scripts get sent
> whichever VC I was on when I typed the reboot/halt command.  I haven't
> been able to figure out how/where the event occurs.  Is it possible to
> prevent it, or to have all the rc scripts send their output to tty1?

Well, I can't provide a solution, but I can provide an explanation:
xdm, or more specifically the Xserver xdm was running.  Whenever an
xserver shuts down, it reverts to the virtual terminal that was active
when it started (which is usually VT1, unless you hit Alt-F# at the
right time in the boot sequence).  While this makes sense as something
to do when the xserver is shut down directly, (for example, if one
were running X through startx and exited X, one would expect to go
back to the shell prompt that ran startx) it may not be the right
thing to do when the Xserver is shut down while not active.

I don't find this any more than a really minor inconvenience, since
switching vt's with Alt-Fn works during the shutdown process, and even 
continues to work after the system has halted.  You might file a
wishlist bug against your favorite xserver though saying that it
shouldn't switch vt's on shutdown unless it (the Xserver) was on the
currently active vt.


--  
Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED] < /dev/null


Why does tty1 become the current VT on reboot/halt?

1998-07-14 Thread Noah L. Meyerhans
-BEGIN PGP SIGNED MESSAGE-

Hey all.  Why is it that when I reboot or halt my machine, I'm
automatically switched to the first virtual console?  I don't like this at
all, because all of the messages coming from the rc scripts get sent
whichever VC I was on when I typed the reboot/halt command.  I haven't
been able to figure out how/where the event occurs.  Is it possible to
prevent it, or to have all the rc scripts send their output to tty1?

Thanks.
Noah

  
  PGP public key available at
  http://lynx.dac.neu.edu/home/httpd/n/nmeyerha/mail.html
  or by 'finger -l [EMAIL PROTECTED]'




-BEGIN PGP SIGNATURE-
Version: 2.6.2

iQCVAwUBNat0NYdCcpBjGWoFAQFcCwP/W6URKM65+s5y0ycq5R+4ubcykrFvLpRW
6JO1W/UB39xMvl7caVivmZpoF850V6zvOi++pYTeHaqbfN5f7jBJRWwPrq+bCkZg
bbX+Pe0jRW5oUo7sX3q/EiI3IxZVjgujT7DxBAzybwErSXcgG8dQR5rt0eCO3aL6
gif3iQRerds=
=9lWc
-END PGP SIGNATURE-


--  
Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED] < /dev/null