Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Sep 2003 21:55:27 -0400
From:      "Vlad D. Markov" <markov@monmouth.com>
To:        Julian Elischer <julian@elischer.org>
Cc:        questions@freebsd.org
Subject:   Re: How to get an X server system to send XDMCP?
Message-ID:  <20030915215527.35c8947d.markov@monmouth.com>
In-Reply-To: <Pine.BSF.4.21.0309151631550.44295-100000@InterJet.elischer.org>
References:  <Pine.BSF.4.21.0309151631550.44295-100000@InterJet.elischer.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 15 Sep 2003 16:36:27 -0700 (PDT)
Julian Elischer <julian@elischer.org> wrote:

> 
> I need to make an X server act as an X-terminal
> and run the chooser, offering up a set of 
> systems to log into at initial powerup.
> 
> I am sure I have done this before but I'll be damned if I can see
> from teh current docs how to do this again..
> 
> I can make the other end.. a system that offers xdm service..
> without too much problem, but I can't see how to make an xdm 
> start teh X server and then get that xdm on the far system to 
> offer service, put up a menu of systems (the chooser) and then 
> select one of them as the base login system.
> 
This should be in the handbook or something. Here goes:

What I do is an indirect query on the host:
	$x :1 -depth 16 vt10 -indirect $(hostname)&
where $x evaluates to: x=/usr/X11R6/bin/X
The ":1" is display 1, I run a regular xdm logon on :0.
I run this one on virtual terminal 10, vt9 is where I run the regular
xdm login to this machine. X will run on the first unassigned virtual
terminal unless you direct it to another.

I do this in a file named xdm.sh in /usr/local/etc/rc.d, I do not run
xdm from rc.conf.

The xdm configuration files have to be modified.

In Xservers comment out the line-> :0 local /usr/X11R6/bin/X

In xdm-config, follow the directions:
! SECURITY: do not listen for XDMCP or Chooser requests
! Comment out this line if you want to manage X terminals with xdm
!DisplayManager.requestPort:    0

Next is Xaccess, it looks like what I have here is:
*               CHOOSER BROADCAST       #any indirect host can get a
chooser

I think that ought to do it, I mess this up for a long time everytime I
switch OSes. I can't remeber either.

There are many other nice to change settings in these files.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030915215527.35c8947d.markov>