I looked up the man pages on startx, then the source
(startx is a sh script). Basically, startx reads your .xinitrc
(into $clientargs) and .xserverrc (into $serverargs) files (or the
default ones if you don't have your own),
then loops through the command line (replacing what was in your
.xinitrc or .xserverrc choices). Everything before the "--" is 
put onto $clientargs, everything (with one exeption) is put int
$serverargs.  The one exception is if a server argument starts is
of the form ":[0-9]", in which case it's put into $display.  It
then sets the Xauth for the desplay, and adds that to
$serverargs.  Then, xinit is called with the command line "$clientargs
-- $display $serverargs".  Basically, it's a wrapper for xinit, that
handles a lot of the setup so you don't have to.

jeff

On Wed, 31 May 2000, Kevin D. Clark wrote:

> Kevin D. Clark writes:
> 
> > In the case of startx, startx just passes these "extra" arguments to X
> > (the X server).  startx doesn't know what to do with the arguments
> > "-nolisten" "tcp", but X does...
> 
> Oops, I meant "xinit" and not "X".
> 
> (Jeff Smith's email prompted me to remember this)
> 

------------------------------------------------------------------------
Jeffry Smith      Technical Sales Consultant     Mission Critical Linux
[EMAIL PROTECTED]   phone:603.930.9379   fax:978.446.9470
------------------------------------------------------------------------
Thought for today:  There can be no twisted thought without a twisted molecule.
                -- R. W. Gerard



**********************************************************
To unsubscribe from this list, send mail to
[EMAIL PROTECTED] with the following text in the
*body* (*not* the subject line) of the letter:
unsubscribe gnhlug
**********************************************************

Reply via email to