can't open display
#6
RE: can't open display
(07-22-2023, 10:14 AM)vishnu Wrote:  The magic potion is "startx -- -listen tcp" ... Note that "startx -listen tcp" does NOT work, why? Why are two dashes needed before the listen dash?

From the startx manpage:
Quote:Arguments immediately following the startx command are used to start a client in the same manner as xinit(1).  The special  argument '--' marks the end of client arguments and the beginning of server options.
You need some way to differentiate client options from server options, so why not use the two dashes?  It's not very different from the way things like 'rm' and 'grep' use two dashes to mark the "end of options" when necessary (e.g., while filenames for 'rm' or patterns for 'grep' start with a dash).

SGI:  Indigo, Indigo2, Octane, Origin 300
Sun:  SPARCstation 20 (x4), Ultra 2, Blade 2500, T5240
HP:  9000/380, 425e, C8000
Digital: DECstation 5000/125, PWS 600au
jpstewart
Developer

Trade Count: (1)
Posts: 444
Threads: 6
Joined: May 2018
Location: SW Ontario, CA
Find Reply
07-22-2023, 11:45 PM


Messages In This Thread
can't open display - by vishnu - 07-21-2023, 10:29 PM
RE: can't open display - by fleedwood - 07-21-2023, 11:22 PM
RE: can't open display - by vishnu - 07-22-2023, 04:39 AM
RE: can't open display - by fleedwood - 07-22-2023, 08:54 AM
RE: can't open display - by vishnu - 07-22-2023, 10:14 AM
RE: can't open display - by jpstewart - 07-22-2023, 11:45 PM
RE: can't open display - by vishnu - 07-23-2023, 01:32 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)