On Mon, 8 Apr 2002, Dr Andrew C Aitchison wrote:
> On Sun, 7 Apr 2002, Mark Vojkovich wrote:
>
> > On 6 Apr 2002, Josh wrote:
> > > How can I switch between the X servers without them changing the video
> > > mode? I'm willing to hack code to make this work if someone can point
> > > me in the right direction.
> > >
> >
> > You can't. When the server X server enters the VT it is going
> > to reinitialize the mode. When it leaves, it is going to restore
> > the mode it initially saved. Those are the rules. The particular
> > instance of the server doesn't know that another server is just
> > going to reset it to the same mode.
>
> If you start the second X server when the first is the active video
> (and they use the same video mode) then switching one way will only
> switch between identical modes.
> Not ideal, but might be a slight improvement on starting both servers
> from a standard VT, which probably means switching to a different
> mode, and back again every time you switch between servers.
Which mode does the second server restore? It didn't save
a text mode if it didn't start in one. If you quit the first
server and then quit the second you restore a graphics mode.
Also, how does the first server know that it's not supposed restore
the text mode on this particular VT switch. Note that if it switches
to another VT, where there isn't an X server, it's expected to
restore a text mode in that case. This is not a problem that
can be solved correctly.
Mark.
_______________________________________________
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert