Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Nov 2004 01:32:18 GMT
From:      "J. Porter Clark" <jpc@drum.msfc.nasa.gov>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   misc/74309: xterm -C and rxvt -C do not grab /dev/console
Message-ID:  <200411240132.iAO1WIlE006521@www.freebsd.org>
Resent-Message-ID: <200411240140.iAO1eHmj084748@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         74309
>Category:       misc
>Synopsis:       xterm -C and rxvt -C do not grab /dev/console
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Nov 24 01:40:17 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     J. Porter Clark
>Release:        5.3-STABLE
>Organization:
NASA MSFC
>Environment:
FreeBSD auricle.charter.net 5.3-STABLE FreeBSD 5.3-STABLE #0: Sat Nov 20 21:49:00 CST 2004     jpc@auricle.charter.net:/usr/obj/usr/src/sys/AURICLE5  i386
    
>Description:
xterm -C and rxvt -C fail to grab the console when started from inside X.  I'm using Windowmaker.  Changing the owner and mode of /dev/console to me and 0666 wasn't necessary in 4.X and doesn't help in 5.3.  It looks as though the TIOCCONS ioctl was changed significantly between 4.10 and 5.3.      
>How-To-Repeat:
Run xterm -C from inside a window manager.  When the window pops up, it says:

     xterm: cannot open console: Device busy

Occasionally, the error message does not show up, but in all cases, the new terminal is not connected to /dev/console.
>Fix:
None.
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200411240132.iAO1WIlE006521>