[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: multiple X servers on one computer?



On Wed, 31 Oct 2001, Bret Hughes wrote:

> Anand Buddhdev wrote:
>
> > Is there a way to run more than one X server on my linux system, so that
> > I have one instance displayed on ALT-F7, the next on ALT-F8
>
> >From the command prompt in a terminal session:
>
> startx -- :1
>
> will open a session that is accessed with alt-f8 from the console or of
> course ctl-alt-f8 in X
>
> changing the 1 to 2 3 4 etc will add them in order (I think)
>
> BTW dont forget the space after the -- .  it is needed to pass the
> arguments to X.  (Seems like xinit is the one that needs it)
>
> HTH
>
> Bret
>
The order you start then determins the vt they are on, as X will grab
the next free vt.  The number is just a label.  (But you can not have
duplicate labels...)  You can also specify the vt on the command line.
Something like "startx -- vt9".  You could combind then using something
like "startx -- vt9 :9"

Mikkel
-- 

    Do not meddle in the affairs of dragons,
 for you are crunchy and taste good with ketchup.






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]