Subject: xsrc/9399: kill -1 1 detaches X server from vt
To: None <email@example.com>
From: None <firstname.lastname@example.org>
Date: 02/11/2000 21:09:38
>Synopsis: kill -1 1 detaches X server from vt
>Responsible: xsrc-manager (NetBSD X11 bug manager)
>Arrival-Date: Fri Feb 11 21:09:00 2000
>Originator: Kevin P. Neal
Kevin P. Neal http://www.pobox.com/~kpn/
"You know, I think I can hear the machine screaming from here... \
'help me! hellpp meeee!'" - Heather Flanagan, 14:52:23 Wed Jun 10 1998
>Release: 1.4Q (late January)
System: NetBSD mrhyde 1.4Q NetBSD 1.4Q (GENERIC.DEBUG) #1: Tue Feb 1 01:00:55 EST 2000 kpn@mrhyde:/usr/src/sys/arch/i386/compile/GENERIC.DEBUG i386
(I guess this is category xsrc... it might be bin or kern...)
If you kill -1 1 to get init to reread /etc/ttys, but you have an X server
running on a virtual console, then the X server loses the ability to connect
to the virtual console via ctrl-alt-fX.
All of this assumes using wscons:
1) Start an X server via xdm's Xservers file. Give as the last argument on the
line for the local server "vt6".
2) Boot machine. Observe X started on virtual console. Realize you actually
wanted it on vt7, and realize you messed up counting from zero and
disabled the wrong tty in /etc/ttys (ttyE6 == F7 == X's vt7).
3) Fix /etc/ttys.
4) kill -1 1
5) Observe how you can't ctrl-alt-f6 or -f7 to your X server, instead getting
the text console (with our without a working login prompt, depending on
6) Curse (you can do this without wscons but I don't recommend it.)
(killing xdm and restarting it fixes things until the next kill -1 1)
Related bug: X will occasionally have the keyboard get weird if the
virtual console X is on also has a getty running on it -- it looks like X
and getty fight for control.
Sorry, no quick fixes this time.