Warren Mansur writes:
> > Also try this:
> >
> > startx -- -nolisten tcp
> >
>
> That worked. Thanks! I tried that before but without the "--", and it would not
> work. Out of curiosity, why do you need to specify the "--" before the other
> options?
UTSL! (-:
The characters "--" are traditionally used to delimit the end of the
command line options. "getopt" is usually used for this sort of thing
("man getopt" and "man getopts" for more details).
So, for example, if a program uses getopt and is invoked this way:
blah -a -b foo -c -- -d foo -e
Then the options-handling code knows that "-c" is the last argument
that should be looked at as being a "command-line switch" and the rest
of the arguments are something else.
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...
So when you tried to invoke "startx" without the "--", startx gobbled
up the "-nolisten" "tcp" arguments and never passed them onto the
server.
Hope this helps,
--kevin
--
Kevin D. Clark | |
[EMAIL PROTECTED] | [EMAIL PROTECTED] | Give me a decent UNIX
Enterasys Networks | PGP Key Available | and I can move the world
Durham, N.H. (USA) | |
**********************************************************
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
**********************************************************