Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

X(1X)

xhost(1X)  —  Unsupported

Name

xhost − X Window System access control program

Syntax

xhost [+|−] [host]

Arguments

If xhost is invoked without any arguments, the list of hosts that can connect is printed on the standard output along with a message indicating whether or not access control is currently enabled.  This argument may be used from machines other than the one on which the server is running.  The following arguments are also accepted:

[+]host
Specifies the host name (a leading plus sign is optional) to be added.

−hostSpecifies the host name to be deleted. 

+Access control is turned off.  Access is granted to everyone, evein if they are not on the list of allowed hosts. 

−Access control is turned on.  Only those machines in the list of allowed hosts can gain access. 

Description

The xhost command adds hosts to or deletes hosts from the list of machines from which X accepts connections to the X server. 

To set up hosts each time you log in, specify them either in your .login file using this command, or in the /etc/X*.hosts file (where * is the number of the display on the machine).  The xhost program is usually run from a startup file or interactively to give access to other users. 

DECnet nodes should be specified as names with a trailing double colon (::). 

The xhost command can be used to alter access control only on the machine to which the display is connected. 

Restrictions

The −display argument is a valid command line argument (indicating that the machine named "display" should be removed from the access list). 

Files

/etc/X*.hosts

See Also

X(1X)

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026