HP Visualize J210XC IRIX to HP-UX Migration Guide - Page 120

Run_x_font_server

Page 120 highlights

The Desktop Environment with a colon followed by a digit (:#), it specifies the display number (0 is the default display number). Additional options specified after the server or display refer to the specified server or display. Examples # x11start starts the default xinit server and executes the client script (either /usr/contrib/lib/X11/sys.x11start or $HOME/.x11start) without passing arguments to either. # x11start -bg black -fn 24x36 starts the default xinit server and executes the client script, passing to it all of the arguments. If the default client script is used, -bg black -fn 24x36 is passed to both mwm and hpterm since both of their default command lines contain $@. If the default client script is used, the actual xinit command executed is xinit /usr/contrib/lib/X11/sys.x11start -bg black -fn 24x36. # x11start -fg white -- :1 starts the default server on display 1 and executes the client script with the arguments -fg white. If the customized client script is used, the xinit command line is xinit $HOME/.x11start -fg white -- :1. # x11start -- Xhp -a2 -t 5 starts the server Xhp, with the arguments -a2 -t 5, and then executes the client script without any arguments. Stopping X After stopping all application programs, stop the window system by holding down the Ctrl and Left Shift keys, and then pressing the Reset (Pause-Break) key. This stops the display server, and with it the window system. Fonts HP-UX's font server, xfs, is R6-based. The file /usr/bin/X11/fs is actually a link to xfs. You can configure a font server (or client) by running the following interactive script: # /sbin/set_parms font_c-s Or run the following noninteractive command: # /usr/sbin/mk_fnt_srvr These commands will start the font server as defined in /sbin/init.d/xfs, which is: /usr/bin/X11/xfs -port 7000 -daemon -quiet_if_addrinuse They will also set the RUN_X_FONT_SERVER variable in /etc/rc.config.d/xfs to 1 so that font services take effect at system startup. To remove font server configuration: 1. Edit /etc/rc.config.d/xfs and set the RUN_X_FONT_SERVER variable to 0. 2. Issue the following command: # /sbin/init.d/xfs stop 115

  • 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

The Desktop Environment
115
with a colon followed by a digit (
:#
), it specifies the display number (
0
is the default display number).
Additional options specified after the server or display refer to the specified server or display.
Examples
# x11start
starts the default
xinit
server and executes the client script (either
/usr/contrib/lib/X11/sys.x11start
or
$HOME/.x11start
) without passing arguments to either.
# x11start -bg black -fn 24x36
starts the default
xinit
server and executes the client script, passing to it all of the arguments.
If the default
client script is used,
-bg black -fn 24x36
is passed to both
mwm
and
hpterm
since both of their default
command lines contain
$@
.
If the default client script is used, the actual
xinit
command executed is
xinit
/usr/contrib/lib/X11/sys.x11start -bg black -fn 24x36.
# x11start -fg white -- :1
starts the default server on display
1
and executes the client script with the arguments
-fg white
.
If the
customized client script is used, the
xinit
command line is
xinit $HOME/.x11start -fg white -- :1
.
# x11start -- Xhp -a2 -t 5
starts the server
Xhp
, with the arguments
-a2 -t 5
, and then executes the client script without any
arguments.
Stopping X
After stopping all application programs, stop the window system by holding down the
Ctrl
and
Left Shift
keys, and then pressing the
Reset
(
Pause-Break
) key.
This stops the display server, and with it the
window system.
Fonts
HP-UX±s font server,
xfs
, is R6-based.
The file
/usr/bin/X11/fs
is actually a link to
xfs
.
You can
configure a font server (or client) by running the following interactive script:
# /sbin/set_parms font_c-s
Or run the following noninteractive command:
# /usr/sbin/mk_fnt_srvr
These commands will start the font server as defined in
/sbin/init.d/xfs
, which is:
/usr/bin/X11/xfs -port 7000 -daemon -quiet_if_addrinuse
They will also set the
RUN_X_FONT_SERVER
variable in
/etc/rc.config.d/xfs
to
1
so that font services
take effect at system startup.
To remove font server configuration:
1.
Edit
/etc/rc.config.d/xfs
and set the
RUN_X_FONT_SERVER
variable to
0
.
2.
Issue the following command:
# /sbin/init.d/xfs stop