NetBSD Problem Report #19461

Received: (qmail 5813 invoked by uid 605); 19 Dec 2002 19:37:11 -0000
Message-Id: <200212191937.gBJJb8O12549@mouse.elfie.org>
Date: Thu, 19 Dec 2002 14:37:08 -0500 (EST)
From: franklin@elfie.org
Sender: gnats-bugs-owner@netbsd.org
Reply-To: franklin@elfie.org
To: gnats-bugs@gnats.netbsd.org
Subject: xconsole grabs console login
X-Send-Pr-Version: 3.95

>Number:         19461
>Category:       kern
>Synopsis:       xconsole grabs console login
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Dec 19 19:38:00 +0000 2002
>Closed-Date:    
>Last-Modified:  
>Originator:     John Franklin
>Release:        NetBSD 1.6K
>Organization:
John Franklin
franklin@elfie.org
ICBM: 3543'56"N 7853'27"W
>Environment:


System: NetBSD deathmitten 1.6K NetBSD 1.6K (DM.MP) #0: Sun Dec 8 05:35:41 EST 2002 franklin@deathmitten:/usr/src2/sys/arch/i386/compile/DM.MP i386
Architecture: i386
Machine: i386
>Description:

When running xconsole in an X11 session, it's impossible to log in on the console.  This is because the getty tries to write output to xconsole and read input from the same.  It creates the following output in the xconsole window:

NetBSD/i386 (deathmitten) (console)

login: 
NetBSD/i386 (deathmitten) (console)

login: Dec 19 14:26:02 deathmitten init: getty repeating too quickly on port /dev/console, sleeping
Dec 19 14:26:36 deathmitten init: getty repeating too quickly on port /dev/console, sleeping
Dec 19 14:28:52 deathmitten last message repeated 4 times

>How-To-Repeat:

run xconsole in X11
<ctl-alt-F1>
Try to login
check the output in xconsole
>Fix:

Make ctl-alt-F1 ttyE0 and have /dev/console redirect by default to ttyE0. When xconsole (or similar program) is run, /dev/console redirects to it instead.  Remove /dev/console from /etc/ttys, replacing it with /dev/ttyE0.
>Release-Note:
>Audit-Trail:
>Unformatted:

NetBSD Home
NetBSD PR Database Search

(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.