Subject: Re: cannot switch between X and ttyE0
To: None <muc-lists-netbsd-users@moderators.muc.de>
From: Michael Core <520079546242-0001@t-online.de>
List: netbsd-users
Date: 05/06/2002 22:51:08
Klaus Heinz wrote:

> As of two hours ago I had 4 virtual consoles (see below for the config
> file) in this system with NetBSD/i386 1.5.2 and when I started X I could
> switch between the X screen and the 4 consoles on ttyE0-ttyE3
> (ALT-SHIFT-F1 - F5).

Isn't it ALT-CTRL-Fn ?

> After playing around with wsconscfg and wsfontload this has changed and
> I don't know why: Now, when I press ALT-SHIFT-F1 I don't get ttyE0
> anymore but the X screen instead. A-S-F{2,3,4} shows the expected
> virtual console. A-S-F5 does nothing.
> 
> Changing from the X screen to one of the consoles first shows the output
> of the X server (like the output in /var/log/XFree86.0.log) but only up
> to the line '(==) Using pcvt driver (version 3.32)'.
> Often I have to wait a few tenths of a second or have to press RETURN
> once or twice to make the virtual console (1-3) appear.
> 
> It seems, X now occupies the console where I type 'startx' instead of
> number five.

You can tell X which console it should use e.g. X vt05 will start X at the
fifth console (ALT-CTRL-F5). BTW, this works although "screen 5" isn't
defined in /etc/wscons.conf.