Tom Cook wrote:
> 
> On  0, Michael Heironimus <[EMAIL PROTECTED]> wrote:
> > On Tue, Oct 15, 2002 at 07:52:24PM +1000, Rob Weir wrote:
> > > On Tue, Oct 15, 2002 at 01:36:42PM +1000, Russell wrote:
> > > > Hi all,
> > > >
> > > > When using xdm, there's no where to enter
> > > > command line parameters to startx or initx (0:1 etc)
> > > > for using a second monitor, so is there an option
> > > > for this in .Xsession or some other file?
> > >
> > > I'm not using XDM at the moment, but GDM is controlled by files in
> > > /etc/X11/gdm; I imagine XDM works similarly.
> >
> > Yeah, I used to use xdm. There are several files in xdm's configuration
> > directory that have to do with that, there's a script to run for each
> > display, a file that lists the displays to start (I think xservers or
> > something similar), and a resource file that contains resources for
> > displays (both common and display-specific).
> 
> Yup, the default /etc/X11/xdm/Xservers even has an example for
> multiple local X displays.  Not sure if this is what you want for
> multiple screens though...

Each X server (display) that is started controls one keyboard, mouse,
and one or more monitors. The first X server is assigned display :0,
the next gets :1 etc. The second monitor on server :0 is assigned :0.1.

> 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 think that would be starting a second X server that would
conflict with the first (display :0). 

> If what
> you want is two X _servers_ running, then you need this in Xservers:
> 
> :0 local /usr/X11R6/bin/X :0 vt9 -bpp 16
> :1 local /usr/X11R6/bin/X :1 vt10 -bpp 8
> 
> but that is different to multiple screens.

It also locks me out;) Both servers are trying to use the same
keyboard, mouse, and monitor.

If you do "startx", it starts display :0:0. My first monitor
shows X and fvwm. The second monitor shows only X (with xinerama
turned off in XF86Config-4). If i enter "xterm -display :0.1" in
an xterm, it starts a second xterm on the other monitor, but i
can't access it with mouse or keyboard. I'm using different
"layout" sections in xf86config-4 to start with different
monitor arrangements now anyway.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to