home *** CD-ROM | disk | FTP | other *** search
-
-
-
- STARTX(1) STARTX(1)
-
-
- NNAAMMEE
- startx - initialize an X session
-
- SSYYNNOOPPSSIISS
- ssttaarrttxx [ [ _c_l_i_e_n_t ] _o_p_t_i_o_n_s ... ] [ ---- [ _s_e_r_v_e_r ] _o_p_t_i_o_n_s
- ... ]
-
- DDEESSCCRRIIPPTTIIOONN
- NOTE: The _s_t_a_r_t_x script supplied with the X11 distribution
- is a sample designed more as a base for customization than
- as a finished product. Site administrators are urged to
- customize it for their site. And to update this manual
- page when they do!
-
- The _s_t_a_r_t_x script is a front end to _x_i_n_i_t that provides a
- somewhat nicer user interface for running a single session
- of the X Window System. It is typically run with no argu-
- ments.
-
- To determine the client to run, _s_t_a_r_t_x first looks for a
- file called _._x_i_n_i_t_r_c in the user's home directory. If
- that is not found, it uses the file _x_i_n_i_t_r_c in the _x_i_n_i_t
- library directory. If command line client options are
- given, they override this behavior. To determine the
- server to run, _s_t_a_r_t_x first looks for a file called
- _._x_s_e_r_v_e_r_r_c in the user's home directory. If that is not
- found, it uses the file _x_s_e_r_v_e_r_r_c in the _x_i_n_i_t library
- directory. If command line server options are given, they
- override this behavior. Users rarely need to provide a
- _._x_s_e_r_v_e_r_r_c file. See the _x_i_n_i_t(1) manual page for more
- details on the arguments.
-
- The _._x_i_n_i_t_r_c is typically a shell script which starts many
- clients according to the user's preference. When this
- shell script exits, _s_t_a_r_t_x kills the server and performs
- any other session shutdown needed. Most of the clients
- started by _._x_i_n_i_t_r_c should be run in the background. The
- last client should run in the foreground; when it exits,
- the session will exit. People often choose a session man-
- ager, window manager, or _x_t_e_r_m as the ``magic'' client.
-
- EEXXAAMMPPLLEE
- Below is a sample _._x_i_n_i_t_r_c that starts several applica-
- tions and leaves the window manager running as the
- ``last'' application. Assuming that the window manager
- has been configured properly, the user then chooses the
- ``Exit'' menu item to shut down X.
-
- xrdb -load $HOME/.Xresources
- xsetroot -solid gray &
- xbiff -geometry -430+5 &
- oclock -geometry 75x75-0-0 &
- xload -geometry -80-0 &
- xterm -geometry +0+60 -ls &
-
-
-
- X Version 11 Release 6.1 1
-
-
-
-
-
- STARTX(1) STARTX(1)
-
-
- xterm -geometry +0-100 &
- xconsole -geometry -0+0 -fn 5x7 &
- exec twm
-
- EENNVVIIRROONNMMEENNTT VVAARRIIAABBLLEESS
- DISPLAY This variable gets set to the
- name of the display to which
- clients should connect. Note
- that this gets _s_e_t_, not read.
-
- FFIILLEESS
- _$_(_H_O_M_E_)_/_._x_i_n_i_t_r_c Client to run. Typically a shell
- script which runs many programs
- in the background.
-
- _$_(_H_O_M_E_)_/_._x_s_e_r_v_e_r_r_c Server to run. The default is _X_.
-
- _<_X_R_o_o_t_>_/_l_i_b_/_X_1_1_/_x_i_n_i_t_/_x_i_n_i_t_r_c
- Client to run if the user has no
- _._x_i_n_i_t_r_c file. <XRoot> refers to
- the root of the X11 install tree.
-
- _<_X_R_o_o_t_>_/_l_i_b_/_X_1_1_/_x_i_n_i_t_/_x_s_e_r_v_e_r_r_c
- Client to run if the user has no
- _._x_s_e_r_v_e_r_r_c file. This is only
- needed if the server needs spe-
- cial arguments or is not named.
- <XRoot> refers to the root of the
- X11 install tree.
-
- SSEEEE AALLSSOO
- _x_i_n_i_t(1)
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- X Version 11 Release 6.1 2
-
-
-