On Thu, Sep 27, 2007 at 05:05:13PM -0400, Hugo Villeneuve wrote:
> On Thu, Sep 27, 2007 at 02:11:53PM +0100, Edd Barrett wrote:
> > Hi there,
> > 
> > Is it possible to have a list of X servers to connect to in XDM on
> > OpenBSD, kind of like dtlogin on solaris?
> > 
> > Thanks
> > 

I agree on part 1 to 4.

> 5. Manualy start the X server in indirect (chooser) mode at startup
> in /etc/rc.local:
> 
> if [ -x /usr/X11R6/bin/X ]; then
>       /usr/X11R6/bin/X -indirect 127.0.0.1 -from 192.168.45.21 vt05 :0 &
> fi

This I would do differently. The problem with this is that when X gets 
terminated (for instance when a user hits <ctrl><alt><bs>) you end up with
no X login. I have a line in /etc/ttys starting X. This wil restart X on
termination. The line would look with the example values like:

ttyC5 "/usr/X11R6/bin/X -indirect 127.0.0.1 -from 192.168.45.21 vt05 :0" xterm 
on

My actual line looks as follows:

ttyC8 "/usr/X11R6/bin/Xorg -indirect xdmcp -from alf vt09" xterm on

my C5 has a getty (I have more than the standard number of vt's)
xdmcp is a local host that allows indirect from * 
alf is the name of the machine running X.
X is a symlink to Xorg so that is the same
:0 is default and can be left out

> There might be a way to setup cookies properly. You only really
> need one xdm server willing to broadcast for you per network.

This uses cookies fine.

        Janjaap van Velthooven
--  ________________________________________
   / __/ /_    / ______/ /_  __/ __/ /___  / 
  / /_  __/___/_/_  /___  / / __/ /___  / /          [EMAIL PROTECTED]
 /___/_/_________/_____/_/_/_/_______/_/_/        

Reply via email to