[PATCH] bsd: Add support for -novtswitch.

Julien Cristau jcristau at debian.org
Sat May 14 04:04:02 PDT 2011

On Sat, May 14, 2011 at 12:53:48 +0200, Matthieu Herrb wrote:

> On Fri, May 13, 2011 at 04:57:13PM +0200, Cyril Brulebois wrote:
> > VT switching back to the initial VT is possible in the following case:
> >   #if defined (SYSCONS_SUPPORT) || defined (PCVT_SUPPORT)
> > 
> > Make it possible to prevent that from happening if -novtswitch was
> > passed, which should make the life of display manager developers easier,
> > especially when it comes to handling multiple users.
> > 
> > X.Org Bug 37174 <http://bugs.freedesktop.org/show_bug.cgi?id=37174>
> > 
> > Signed-off-by: Cyril Brulebois <kibi at debian.org>
> PCVT (and wscons in PCVT emulation mode) doesn't support having both a
> getty process and the X server attached to the same VT. Running X
> -noswitchvt will thus not work. 
> At least on Net/OpenBSD, when using a display manager, we always
> specify a free VT to use on X's command line,  forcing a VT switch
> to avoid this.
> I don't know know how syscons (FreeBSD) behaves when 2 processes are
> attached to the same VT, and I also don't see what are the extra VT
> switches that the PR is referring too. So may be syscons has some
> specific behaviour that I'm not aware of ? 
This is not about running two processes on the same VT.  It's about
allowing gdm to control when VT switches happen, by not switching back
to whatever VT we started from on regen and exit.


More information about the xorg-devel mailing list