Subject: Re: switching consoles and x-displays
To: None <netbsd-users@netbsd.org>
From: Hanspeter Roth <hampi@rootshell.be>
List: netbsd-users
Date: 05/29/2003 22:48:10
  On May 29 at 13:06, Richard Rauch spoke:

> To switch between X11 displays and/or consoles, just switch to the
> appropriate virtual console.   (Assuming that you are using wscons.

I had turned off wscons and disabled logins on ttye1..ttye3. But
this is fixed now.

> This is the default for port-i386, but I don't know which other ports
> have wscons.)

Yes I'm using port-i386.

> 
> The only surprise is that on a default configuration, the first X
> server you run opens up on the 5th virtual console, and all subsequent
> X servers open up on the *same* console from which you issue the
> "startx" command.  This in turn effectively means that you cannot
> (I think) start an X server from an xterm---unless you manually
> tell startx which virtual console to use.  (I don't know how to
> override the console selection offhand, though I gather that it is
> doable.)

I tried this and the system behaved funny. I could only exit by a
reset. Maybe the two X servers were sharing the same console.

But can one configure that the second X session goes to a console of
it's onw?

(My primary reason for running a second X session is to experiment
with a different window manager.)

-Hanspeter