home *** CD-ROM | disk | FTP | other *** search
/ Geek Gadgets 1 / ADE-1.bin / ade-bin / x11r6.1 / man / cat1 / startx.0 < prev    next >
Encoding:
Text File  |  1996-10-17  |  4.1 KB  |  133 lines

  1.  
  2.  
  3.  
  4. STARTX(1)                        STARTX(1)
  5.  
  6.  
  7. NNAAMMEE
  8.        startx - initialize an X session
  9.  
  10. SSYYNNOOPPSSIISS
  11.        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
  12.        ... ]
  13.  
  14. DDEESSCCRRIIPPTTIIOONN
  15.        NOTE: The _s_t_a_r_t_x script supplied with the X11 distribution
  16.        is a sample designed more as a base for customization than
  17.        as a finished product.  Site administrators are    urged  to
  18.        customize  it  for  their site.    And to update this manual
  19.        page when they do!
  20.  
  21.        The _s_t_a_r_t_x script is a front end to _x_i_n_i_t that provides    a
  22.        somewhat nicer user interface for running a single session
  23.        of the X Window System.    It is typically run with no argu-
  24.        ments.
  25.  
  26.        To  determine  the client to run, _s_t_a_r_t_x first looks for a
  27.        file called _._x_i_n_i_t_r_c in the  user's  home  directory.   If
  28.        that  is     not found, it uses the file _x_i_n_i_t_r_c in the _x_i_n_i_t
  29.        library directory.  If command  line  client  options  are
  30.        given,  they  override  this  behavior.     To determine the
  31.        server to run,  _s_t_a_r_t_x  first  looks  for  a  file  called
  32.        _._x_s_e_r_v_e_r_r_c  in  the user's home directory.  If that is not
  33.        found, it uses the file _x_s_e_r_v_e_r_r_c  in  the  _x_i_n_i_t  library
  34.        directory.  If command line server options are given, they
  35.        override this behavior.    Users rarely need  to  provide    a
  36.        _._x_s_e_r_v_e_r_r_c  file.   See    the _x_i_n_i_t(1) manual page for more
  37.        details on the arguments.
  38.  
  39.        The _._x_i_n_i_t_r_c is typically a shell script which starts many
  40.        clients    according  to  the  user's preference.    When this
  41.        shell script exits, _s_t_a_r_t_x kills the server  and     performs
  42.        any  other  session  shutdown needed.  Most of the clients
  43.        started by _._x_i_n_i_t_r_c should be run in the background.   The
  44.        last  client  should run in the foreground; when it exits,
  45.        the session will exit.  People often choose a session man-
  46.        ager, window manager, or _x_t_e_r_m as the ``magic'' client.
  47.  
  48. EEXXAAMMPPLLEE
  49.        Below  is  a  sample _._x_i_n_i_t_r_c that starts several applica-
  50.        tions  and  leaves  the    window    manager     running  as  the
  51.        ``last''     application.    Assuming  that the window manager
  52.        has been configured properly, the user  then  chooses  the
  53.        ``Exit'' menu item to shut down X.
  54.  
  55.        xrdb     -load    $HOME/.Xresources
  56.        xsetroot  -solid  gray  &
  57.        xbiff  -geometry  -430+5  &
  58.        oclock  -geometry  75x75-0-0     &
  59.        xload  -geometry  -80-0  &
  60.        xterm  -geometry  +0+60  -ls     &
  61.  
  62.  
  63.  
  64. X Version 11           Release 6.1                1
  65.  
  66.  
  67.  
  68.  
  69.  
  70. STARTX(1)                        STARTX(1)
  71.  
  72.  
  73.        xterm  -geometry  +0-100  &
  74.        xconsole  -geometry    -0+0  -fn  5x7    &
  75.        exec     twm
  76.  
  77. EENNVVIIRROONNMMEENNTT VVAARRIIAABBLLEESS
  78.        DISPLAY            This  variable    gets  set  to the
  79.                 name  of  the  display    to  which
  80.                 clients      should  connect.   Note
  81.                 that this gets _s_e_t_, not read.
  82.  
  83. FFIILLEESS
  84.        _$_(_H_O_M_E_)_/_._x_i_n_i_t_r_c        Client to run.    Typically a shell
  85.                 script    which  runs many programs
  86.                 in the background.
  87.  
  88.        _$_(_H_O_M_E_)_/_._x_s_e_r_v_e_r_r_c    Server to run.    The default is _X_.
  89.  
  90.        _<_X_R_o_o_t_>_/_l_i_b_/_X_1_1_/_x_i_n_i_t_/_x_i_n_i_t_r_c
  91.                 Client    to run if the user has no
  92.                 _._x_i_n_i_t_r_c file.    <XRoot> refers to
  93.                 the root of the X11 install tree.
  94.  
  95.        _<_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
  96.                 Client to run if the user has  no
  97.                 _._x_s_e_r_v_e_r_r_c  file.   This  is only
  98.                 needed if the server  needs  spe-
  99.                 cial  arguments     or is not named.
  100.                 <XRoot> refers to the root of the
  101.                 X11 install tree.
  102.  
  103. SSEEEE AALLSSOO
  104.        _x_i_n_i_t(1)
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.  
  130. X Version 11           Release 6.1                2
  131.  
  132.  
  133.