From owner-freebsd-questions@FreeBSD.ORG Mon Sep 15 18:55:35 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id ABB7116A4B3 for ; Mon, 15 Sep 2003 18:55:35 -0700 (PDT) Received: from smtp.monmouth.com (smtp.monmouth.com [209.191.58.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id 94CBD43F85 for ; Mon, 15 Sep 2003 18:55:34 -0700 (PDT) (envelope-from markov@monmouth.com) Received: from happy.markov.net (bg-tc-ppp1286.monmouth.com [209.191.48.29]) by smtp.monmouth.com (8.12.9/8.12.9) with SMTP id h8G1tTIN035126; Mon, 15 Sep 2003 21:55:30 -0400 (EDT) Date: Mon, 15 Sep 2003 21:55:27 -0400 From: "Vlad D. Markov" To: Julian Elischer Message-Id: <20030915215527.35c8947d.markov@monmouth.com> In-Reply-To: References: X-Mailer: Sylpheed version 0.9.4 (GTK+ 1.2.10; i386-portbld-freebsd4.8) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit cc: questions@freebsd.org Subject: Re: How to get an X server system to send XDMCP? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Sep 2003 01:55:35 -0000 On Mon, 15 Sep 2003 16:36:27 -0700 (PDT) Julian Elischer 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.