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

Re: Xdm



On Tue, 21 Apr 1998, Remco Blaakmeer wrote:

> On Tue, 21 Apr 1998, Michael Beattie wrote:
> 
> > I've just started having a look at Xdm, and have decided I would like to
> > use it if I can do two things.
> > 
> > 1) How do you add another display (:1), I had a look at the Xservers file,
> > and added a new line, but it died...
> 
> In the latest xbase package, the default Xservers file contains these
> commented lines:
> 
> # If you want to add servers yourself, please keep these things in mind:
> # - For each X server other than :0, the display number must be on the
> #   command line
> # - This is the place to add the -bpp option to the command line
> # - If you run multiple X servers, it is wise to add the vtXX option to
> #   each of them, since this is currently the only sure way of knowing
> #   in advance which X server attaches to which console.
> #
> # Example:
> # :0 local /usr/X11R6/bin/X :0 vt9 -bpp 16
> # :1 local /usr/X11R6/bin/X :1 vt10 -bpp 8
> 
> This should be clear enough, IMHO. Heck, I wrote these lines. :-)

Thanks, that works :) 

> > 2) Can it be made to start in the background, so that on boot up, The
> > first console is still showing?
> 
> Well, not without a kludge. When the X server starts, it always pops up
> the X display. You'd need to change the X server if you want it to just
> start and not show up initially. But you can add a command like this to
> the start) section in /etc/init.d/xfs :
> 
> ( sleep 10 ; chvt 1 ) &
> 
> This will change the screen back to console #1 ten seconds after xdm is
> started. Or you could add a simple 'chvt 1' command to
> /etc/X11/xdm/Xsetup_0 . But then the chvt command is also executed every
> time you exit the window manager and get the xdm login screen again.

hmmm that looks like it could be useful... :) thanks.
 
> > Hey, I like having my cake and eating it too... :)
> 
> Yep, me too. :-)

hehe..



                       Michael Beattie (mickyb@es.co.nz)

-------------------------------------------------------------------------------
                   Drive nail here ( ) to need a new monitor.
-------------------------------------------------------------------------------
                Debian GNU/Linux....  Ooohh You are missing out!


--
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org


Reply to: