[plug] Multiple X Servers ...

Kim Covil kimc at ned.dem.csiro.au
Sun Jul 4 14:35:20 WST 1999


> 
> > Is it possible to run multiple X servers on the one Linux box?? For
> > example, on my PC, Function keys 1-6 are Text/console, 7 is the X
> > server. Is it possible to have 8 as another X server, with different
> > display number??
> 
> X binds to the first available tty. If you want 8 to be another X server,
> it needs to be free/open/not-used.
> 
> But is it possible to have more than  one X server? I'm not sure but yo
> can try. This is what I got from "ps ax | grep X":
>  1038 tty1     S      0:00 sh /usr/X11R6/bin/startx
>  1043 tty1     S      0:00 xinit /usr/X11R6/lib/X11/xinit/xinitrc -- -auth...
>  1044 ?        S      0:55 /usr/X11R6/bin/Xwrapper :0 -auth /root/.Xauthority
> 
> You could modify /usr/X11R6/bin/startx (well, duplicate for the next X
> server) and change :0 to :1.
> 
> > I know xf86setup does this somehow; It can run while there's another X
> > server going. Is it generally available tho, and if so, how do you get
> > it going?
> 
> Get back to me if it works (or does not work, heh).
> 
> -David (bk at bofh.ns.ca).
> 

It's easier than that...

startx -- :1 vt8

the -- sends the following flags through to X the :1 tells X to start on
display :1 and the vt8 says attach to virtual terminal 8 (get to it
using Alt-F8 from a console term or Ctrl-Alt-F8 from the first X)

Kim


-- 
====================================================================== 
Kim Covil - Australian Geodynamics CRC   E-mail: kimc at ned.dem.csiro.au 
            CSIRO Exploration & Mining   Tel: +61 8 9284 8425   ,-_!\
            PO Box 437, Nedlands,        Fax: +61 8 9389 1906  /     \
            Western Australia  6009                            *_,-._/   
=================================================================== v 
   Please direct all personal e-mail to kimbotha at it.net.au


More information about the plug mailing list