HP Workstation zx2000 HP Graphics Administration Guide for HP-UX 11.X (IPF ver - Page 63

X Server configuration details, making an x*.hosts file, using an /etc/hosts file

Page 63 highlights

5 X Server configuration details This chapter discusses several details concerning the configuration of X hosts, colormaps, mouse and keyboard. making an x*.hosts file The /etc/X0.hosts file is an ASCII text file containing the host names of each remote host permitted to access your local server. ■ If you are running as a stand-alone system, you must have your system's name in this file. ■ If you are part of a network, the other system names must be included. The syntax is as follows: For example, if you are hpaaaaa, and regularly ran clients on hpccccc, and hpddddd, you would want the following lines. hpaaaaa hpccccc hpddddd Note that aliases work as well as host names, provided they are valid, commonly known across the network. using an /etc/hosts file This file need not be present if your system is configured to query a nameserver. The /etc/hosts file is an ASCII text file containing a list of all the host names and internet addresses known to your system, including your own system. If your system is not connected to a network, use the loopback address (127.0.0.1) and the hostname unknown: 127.0.0.1 unknown For a local system to access a remote host: ■ The address and hostname of the remote host must be listed in the local system's /etc/hosts file. ■ The user must have a valid login (username and password) and home directory on the remote host. Graphics Administration Guide 5-1

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66

Graphics Administration Guide
5–1
5
X Server configuration details
This chapter discusses several details concerning the configuration of X hosts, colormaps, mouse
and keyboard.
making an x*.hosts file
The
/etc/X0.hosts
file is an ASCII text file containing the host names of each remote host
permitted to access your local server.
If you are running as a stand-alone system, you must have your system’s name in this file.
If you are part of a network, the other system names must be included.
The syntax is as follows:
<host>
<host>
<host>
For example, if you are hpaaaaa, and regularly ran clients on hpccccc, and hpddddd, you would
want the following lines.
hpaaaaa
hpccccc
hpddddd
Note that aliases work as well as host names, provided they are valid, commonly known across
the network.
using an /etc/hosts file
This file need not be present if your system is configured to query a nameserver.
The
/etc/hosts
file is an ASCII text file containing a list of all the host names and internet
addresses known to your system, including your own system.
If your system is not connected to a network, use the loopback address (127.0.0.1) and the
hostname unknown:
127.0.0.1 unknown
For a local system to access a remote host:
The address and hostname of the remote host must be listed in the local system’s
/etc/hosts
file.
The user must have a valid login (username and password) and home directory on the remote
host.