xhost(1X)
NAME
xhost - X Window System access control program
SYNTAX
xhost host
DESCRIPTION
The xhost command adds hosts to or deletes hosts from the list of machines from which X accepts connections.
To add a host, specify the host name on the command line (a leading plus sign (+) is optional). To delete a host, specify a minus sign (−) and then the host name on the command line. When no arguments are specified, xhost prints a list of the current hosts that can access your display.
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).
DECnet nodes should be specified as names with a trailing double colon (::).
The xhost command can be executed remotely.
FILES
/etc/X*.hosts