Technical data

Configuring XDMCP-Compatible X Displays
19.3 XDM Configuration Files
Example 19–2 XACCESS.TXT File
# $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 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.
#
# 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
Allowing Direct Access
To allow access, add a line to the XACCESS.TXT file with the host name, as
shown in the following example:
condor.compaq.com
Denying Access
To restrict access, add a line to the XACCESS.TXT file with the host name,
preceded by an exclamation point, as shown in the following example:
!rufus.compaq.com
You can use the question mark (?) and the asterisk (*) wildcard characters to
specify host names that vary with one character or more than one character.
Allowing Indirect Access
To allow indirect access, add a line to the XACCESS.TXT file similar to the
following line:
rufus.compaq.com richard.compaq.com henry.compaq.com william.compaq.com
19–4 Configuring XDMCP-Compatible X Displays