[0m


STARTX(1)	    UNIX Programmer's Manual		STARTX(1)



[1mNAME
     [0mstartx - X Window System initializer

[1mSYNOPSIS
     startx [0m[[client] options] [-- [server] options]

[1mDESCRIPTION
     [0mThe _s_t_a_r_t_x program is used to start the X Window System
     server and initial client programs.  It is intended for peo-
     ple who do not want to use the preferred interface, _x_d_m(1).
     The typical reason for avoiding _x_d_m is to be able to kill
     and restart X several times in the same session without log-
     ging in each time.

     The action of _s_t_a_r_t_x is to start the X server, and then run
     an initial client program.  When this client exits, the X
     server is automatically closed down.  Typical choices for
     the initial client program are _x_t_e_r_m(1), _x_s_m(1) or a window
     manager with an exit option.

     The arguments are in the same format as those of _x_i_n_i_t(1).
     The first argument is the name of the initial client pro-
     gram, which must be a full pathname or start with a dot.
     Following this is a list of arguments to be passed to the
     client.

     If no client is specified, then the shell script [1m~/.xinitrc
     [0mis used, if present, or else [1m/usr/lib/X11/xinit/xinitrc[0m.

     The client arguments are terminated by `--'.  Following this
     is the command line to execute the X server.  The command
     name must be a full pathname or start with a dot.	If no
     server command is specified, then the shell script [1m~/.xser-
     verrc [0mis used, if present, or else
     [1m/usr/lib/X11/xinit/xserverrc[0m.  If you write such a script,
     it should use the shell's _e_x_e_c command to start the server.
     This is to improve the session startup time as explained in
     the BUGS section of _x_i_n_i_t(1).

     The [1m.xinitrc [0mfile is usually a shell script containing a
     number of commands to load resources, start frequently-used
     tools and run a window manager.  The last command in the
     script should be run in the foreground, and this command is
     the one whose termination will end the session.

[1mNOTES
     [0mYou might find it convenient to make [1m~/.xinitrc [0ma symbolic
     link to _x_d_m's session file, [1m~/.xsession[0m.  Then you should
     get an identical session whether you start with _x_d_m or
     _s_t_a_r_t_x.





Printed 11/2/100	    Release 4				1






STARTX(1)	    UNIX Programmer's Manual		STARTX(1)



     _s_t_a_r_t_x is a shell script which does a little argument pro-
     cessing and then calls _x_i_n_i_t(1) to do the bulk of the work.

[1mENVIRONMENT VARIABLES
     DISPLAY [0mThis variable gets set to the name of the display to
	     which clients should connect.

[1mSEE ALSO
     [0mxinit(1), X(1), Xserver(1), xterm(1), xrdb(1)

[1mCOPYRIGHT
     [0mCopyright 1988, Massachusetts Institute of Technology.
     See _X(_1) for a full statement of rights and permissions.

[1mAUTHOR
     [0mBob Scheifler, MIT Laboratory for Computer Science







































Printed 11/2/100	    Release 4				2



[0m