Subject: Re: wsfb and two virtual displays and VT_ACTIVATE failed and properly
To: None <firstname.lastname@example.org>
From: Jeremy C. Reed <email@example.com>
Date: 12/21/2006 14:38:09
On Thu, 21 Dec 2006, Christian Biere wrote:
> Michael Lorenz wrote:
> > On Dec 21, 2006, at 10:10, Jeremy C. Reed wrote:
> > >1) Does wsfb support allow starting X on two different displays (on
> > > same hardware)?
> > IIRC you need to tell the Xserver in which virtual console it's
> > supposed to live, on i386 it will always try to grab the 5th one.
> That's probably because there are 4 wscons displays by default. I've
> hardcoded two unassigned terminals "vt07" and "vt08" per user here
> in my startx script as workaround. This has worked for me with s3virge,
> nv and mga.
When I tried to run "Xorg vt07", it said display already in use.
So I did "Xorg :1 vt07" and it complained:
Fatal server error:
xf86OpenPcvt: Cannot open /dev/ttyE6 (Device not configured)
I read that the "vt" does nothing and just uses first available terminal.
(It looks like bsd_init.c code (Xorg) could use a xf86MsgVerb() to report
if the VTnum given on command line argument is not used and more debugging
I do have that device file.
I couldn't find the kernel option for choosing more virtual terminals. I
don't know the default.
Do I need to use options WSDISPLAY_DEFAULTSCREEN ?
My rc.conf has wscons=YES but my wscons.conf is the default unmodified.
Should it be setup?
My ttys file does not have ttyE4 and higher.
By the way, does anyone else have X problems when they comment out
required field (like Option "Protocol") in their config and attempt to
start? Does it close/reset cleanly? Can you start X without rebooting?