NetBSD Problem Report #9399
Received: (qmail 9463 invoked from network); 12 Feb 2000 05:08:26 -0000
Message-Id: <200002120507.AAA12823@tome.neutralgood.org>
Date: Sat, 12 Feb 2000 00:07:18 -0500 (EST)
From: kpn@neutralgood.org
Reply-To: kpn@neutralgood.org
To: gnats-bugs@gnats.netbsd.org
Subject: kill -1 1 detaches X server from vt
X-Send-Pr-Version: 3.95
>Number: 9399
>Category: xsrc
>Synopsis: kill -1 1 detaches X server from vt
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: xsrc-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Feb 11 21:09:00 +0000 2000
>Closed-Date:
>Last-Modified:
>Originator: Kevin P. Neal
>Release: 1.4Q (late January)
>Organization:
--
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
>Environment:
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
>Description:
(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.
>How-To-Repeat:
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
your /etc/ttys).
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.
>Fix:
Sorry, no quick fixes this time.
>Release-Note:
>Audit-Trail:
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.