HP Visualize J5000 HP Workstations - Graphics Administration Guide For Red Hat - Page 71

Signals, Fonts, SIGHUP, SIGTERM, SIGUSR1, SIG_IGN, SIG_DFL, fontpath, mkfontdir, stmkdirs

Page 71 highlights

% xhost +janesworkstation % xhost + % xhost % xhost janesworkstation being added to access control list o 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) 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 possibl Fonts Fonts are usually stored as individual files in directories. The list of directories in which the server looks when trying to open a font is controlled by the fontpath. Although most sites will choose to have the server start up with the appropriate font path (using the -fp option mentioned above), it can be overridden using the xset program. Font databases are created by running the mkfontdir or stmkdirs program in the directory containing the compiled versions of the fonts (mkfontdir) or font outlines (stmkdirs.) Whenever fonts are added to a directory, mkfontdir or stmkdirs should be rerun so that the server can find the new fonts. If mkfontdir or stmkdirs is not run, the server will not be able to find any of the new fonts in the directory. Graphics Administration Guide For Red Hat Linux 6.2

  • 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

% xhost +janesworkstation
janesworkstation
being added to
access control list o
% 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
) 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 possibl
Fonts
Fonts are usually stored as individual files in directories. The list of directories in which
the server looks when trying to open a font is controlled by the
fontpath
. Although
most sites will choose to have the server start up with the appropriate font path (using the
-fp
option mentioned above), it can be overridden using the
xset
program.
Font databases are created by running the
mkfontdir
or
stmkdirs
program in the
directory containing the compiled versions of the fonts (
mkfontdir
) or font outlines
(
stmkdirs
.) Whenever fonts are added to a directory,
mkfontdir
or
stmkdirs
should be rerun so that the server can find the new fonts.
If
mkfontdir
or
stmkdirs
is not run, the server will not be able to find any of the new fonts in the directory.
Graphics Administration Guide For Red Hat Linux 6.2