HP Visualize J5000 hp workstations - hp-ux 10.20 graphics administration guide - Page 152

Signals, This signal is used quite differently from either of the above. When the server starts

Page 152 highlights

page for a description of the binary format of this file. Maintenance of this file, and distribution of its contents to remote sites for use there is left as an exercise for the reader. The sample server also uses a host-based access control list for deciding whether or not to accept connections from clients on a particular machine. This list initially consists of the host on which the server is running as well as any machines listed in the file /etc/Xn.hosts, where n is the display number of the server. Each line of the file should contain an Internet hostname (e.g., expo.lcs.mit.edu.) There should be no leading or trailing spaces on any lines. For example: joesworkstation corporate.company.com Users can add or remove hosts from this list and enable or disable access control using the xhost command from the same machine as the server. For example: % xhost +janesworkstation % xhost + % xhost % xhost janesworkstation being added to access control list All hosts being allowed (access control disabled) All hosts being restricted (access control enabled) Access control enabled; only the following hosts are allowed: joesworkstation janesworkstation corporate.company.com Signals The X server attaches special meaning to the following signals: SIGHUP This signal causes the server to close all existing connections, free all resources, and restore all defaults. It is sent by the display manager (xdm or dtlogin) whenever the main user's main application exits to force the server to clean up and prepare for the next user. SIGTERM This signal causes the server to exit cleanly. SIGUSR1 This signal is used quite differently from either of the above. When the server starts, it checks to see if it has inherited SIGUSR1 as SIG_IGN instead of the usual SIG_DFL. In this case, the server sends a SIGUSR1 to its parent process after it has set up the various connection schemes. Xdm uses this feature to recognize when connecting to the server is possible. Page 152 Graphics Administration Guide for HP-UX 10.20

  • 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
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165
  • 166
  • 167
  • 168
  • 169
  • 170
  • 171

page for a description of the binary format of this file. Maintenance of this file, and distribution of its
contents to remote sites for use there is left as an exercise for the reader.
The sample server also uses a host-based access control list for deciding whether or not to accept
connections from clients on a particular machine. This list initially consists of the host on which the
server is running as well as any machines listed in the file
/etc/Xn.hosts
, where n is the display number
of the server. Each line of the file should contain an Internet hostname (e.g., expo.lcs.mit.edu.) There
should be no leading or trailing spaces on any lines. For example:
joesworkstation
corporate.company.com
Users can add or remove hosts from this list and enable or disable access control using the
xhost
command from the same machine as the server. For example:
% xhost +janesworkstation
janesworkstation being added to access control list
% xhost +
All hosts being allowed (access control disabled)
% xhost -
All hosts being restricted (access control enabled)
% xhost
Access control enabled; only the following hosts are allowed:
joesworkstation
janesworkstation
corporate.company.com
Signals
The X server attaches special meaning to the following signals:
SIGHUP
This signal causes the server to close all existing connections, free all resources, and restore all
defaults. It is sent by the display manager (
xdm
or
dtlogin
) whenever the main user's main
application exits to force the server to clean up and prepare for the next user.
SIGTERM
This signal causes the server to exit cleanly.
SIGUSR1
This signal is used quite differently from either of the above. When the server starts, it checks to
see if it has inherited SIGUSR1 as
SIG_IGN
instead of the usual SIG_DFL. In this case, the
server sends a
SIGUSR1
to its parent process after it has set up the various connection schemes.
Xdm
uses this feature to recognize when connecting to the server is possible.
Graphics Administration Guide for HP-UX 10.20
Page 152