Re: Starting X on second screen
Tom Cook wrote:
>
> On 0, Kent West <westk@acu.edu> wrote:
> > Tom Cook wrote:
> >
> > >How would you start multiple screens using startx? 'startx -- :0.1'
> > >doesn't work for me, but then I don't have multiple screens.
> > >
> >
> > I believe this would attempt to start X on the Virtual Desktop #1 on the
> > first (:0) display; what you probably want is:
> >
> > startx -- :1
>
> Not so. The :x.y notation refers to different screens connected to
> the same display. A 'screen' in X terminology is not a monitor but a
> complete input/output system (monitor, keyboard, mouse) that is
> controlled by the same X server. The 'x' is which X server to connect
> to, and the 'y' is which screen on that server to display on.
You mean: A 'display or displaynumber' in X terminology...
man X
> I thought (rather excitedly) that :0.1 might mean virtual desktop 1,
> but virtual desktops are a WM illusion, nothing more. So:
>
> $ xterm -display :0.1
> xterm Xt error: Can't open display: :0.1
In ServerLayout, switch off xinerama and make sure there's screen 0
and screen 1.
> $ xterm -display :0.0
> Screens are different concepts to X servers and also different to
> multi-headed displays (I think - not sure on that). I have never seen
> a system with more than one screen.
With xinerama off, the monitors are :0.0 and :0.1. With xinerama on,
there's only :0.0.
> In this line, I have recently (this morning) discovered the joys of
> x2x to link two X displays. I have two p2/333s on my desk, and until
> today I had two keyboards and mice, too. Now I'm writing this on one
> display from the keyboard and mouse of the other - cool! Now I need a
> few more boxen...
That's easy if both your boxes are linux;)
Reply to: