beautypg.com

4 startx, 5 xinit – Tech Source Raptor DL-Lite Drivers for HP-UX User Manual

Page 20

background image

Raptor DL-Lite/HP-UX Installation and Reference Manual

4-4

4.4 startx


This is the easiest way to start up the X Window System server.
The

startx

script is provided in /

usr/contrib/bin/X11

directory.

To start up the X server in the default mode type:

prompt% startx

You may add command line arguments to the end of the line.


4.5 xinit


The

xinit

program can be directly used to start the X Window

System server. The

xinit

format is as follows:

xinit [[client] options] [ -- [server]
[display] options ]


If no specific client program is given on the command line,

xinit

will look for a file in the user's home directory called

.xinitrc

to

run as a shell script to start up client programs. If no such file
exists,

xinit

will use the following as a default:

xterm -geometry +1+1 -n login \
-display :0


If no specific server program is given on the command line,

xinit

will look for a file in the user's home directory called

.xserverrc

to run as a shell script to start up the server. If no such file exists,

xinit

will use the following as a default:

X :0


Note that this assumes that there is a program named

X

in the

current search path.