Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Jun 1995 16:33:24 +0200 (MET DST)
From:      Christoph Kukulies <kuku@gilberto.physik.rwth-aachen.de>
To:        Guido.vanRooij@nl.cis.philips.com
Cc:        freebsd-hackers@freefall.cdrom.com (user alias)
Subject:   Re: how to turn local system into Xterminal
Message-ID:  <199506271433.QAA05493@gilberto.physik.rwth-aachen.de>
In-Reply-To: <m0sQXgf-000HneC@spooky.lss.cp.philips.com> from "Guido van Rooij" at Jun 27, 95 12:16:09 pm

next in thread | previous in thread | raw e-mail | index | archive | help
> 
> I have a complete FreeBSD (2.0.5R) and XFree 3.1.1 setup. 
> I like to have the possibility to sometimes just act as an xterminal,
> without having to boot again. Of course I should configure a remote
> machines xdm so it is willing to serve me. But what should I do
> locally? Just starting an xserver isn't enough of course..How do I tell
> the remote machine it should open up the xdm logon window?
> 
> -Guido
> 
You have to twiddle with /usr/X11R6/lib/X11/xdm/Xservers
and Xaccess. Our host ncd1 is an true X-terminal and it has 
set up some type of XDCMP protocol which escaped me for the
moment.

The question is what to tell xdm to do when you start it on you
FreeBSD-X-Terminal. 

Xservers on gil:

#
# Xservers file, workstation prototype
#
# This file should contain an entry to start the server on the
# local display; if you have more than one display (not screen),
# you can add entries to the list (one per line).  If you also
# have some X terminals connected which do not support XDMCP,
# you can add them here as well.  Each X terminal line should
# look like:
#	XTerminalName:0 foreign
#
#:0 local /usr/X386/bin/X
ncd1:0  foreign

Xaccess on gil:

# $XConsortium: Xaccess,v 1.5 91/08/26 11:52:51 rws Exp $
#
# Access control file for XDMCP connections
#
# To control Direct and Broadcast access:
#
#	pattern
#
# To control Indirect queries:
#
# 	pattern		list of hostnames and/or macros ...
#
# To use the chooser:
#
#	pattern		CHOOSER BROADCAST
#
# or
#
#	pattern		CHOOSER list of hostnames and/or macros ...
#
# To define macros:
#
#       %name		list of hosts ...
#
# The first form tells xdm which displays to respond to itself.
# The second form tells xdm to forward indirect queries from hosts matching
# the specified pattern to the indicated list of hosts.
# The third form tells xdm to handle indirect queries using the chooser;
# the chooser is directed to send its own queries out via the broadcast
# address and display the results on the terminal.
# The fourth form is similar to the third, except instead of using the
# broadcast address, it sends DirectQuerys to each of the hosts in the list
#
# In all cases, xdm uses the first entry which matches the terminal;
# for IndirectQuery messages only entries with right hand sides can
# match, for Direct and Broadcast Query messages, only entries without
# right hand sides can match.
#

*					#any host can get a login window

#
# To hardwire a specific terminal to a specific host, you can
# leave the terminal sending indirect queries to this host, and
# use an entry of the form:
#

#terminal-a	host-a


#
# The nicest way to run the chooser is to just ask it to broadcast
# requests to the network - that way new hosts show up automatically.
# Sometimes, however, the chooser can't figure out how to broadcast,
# so this may not work in all environments.
#

#*		CHOOSER BROADCAST	#any indirect host can get a chooser

#
# If you'd prefer to configure the set of hosts each terminal sees,
# then just uncomment these lines (and comment the CHOOSER line above)
# and edit the %hostlist line as appropriate
#
# some hosts CHOOSER is offering:

%hostlist	axp02 axp03 axp04 axp05	 acds gilberto

*		CHOOSER %hostlist	#


--Chris Christoph P. U. Kukulies kuku@gil.physik.rwth-aachen.de
FreeBSD blues.physik.rwth-aachen.de 2.0-BUILT-19950619 FreeBSD 2.0-BUILT-1995
0619 #1: Mon Jun 19 19:54:08 MET DST 1995     kuku@blues.physik.rwth-aachen.d
e:/usr/src/sys/compile/BLUESGUS  i386



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