Re: [Fink-users] Strange $DISPLAY behavior when switching locations
Re: [Fink-users] Strange $DISPLAY behavior when switching locations
- Subject: Re: [Fink-users] Strange $DISPLAY behavior when switching locations
- From: "Justin C. Walker" <email@hidden>
- Date: Fri, 10 Jan 2003 09:50:40 -0800
On Thursday, January 9, 2003, at 05:24 PM, Phillip Moore wrote:
Justin C. Walker wrote:
A) PLEASE don't cross-post. It's rude.
If the post is relevant to all the lists posted to, and the number of
lists is not excessive, its not necessarily rude.
Send separate messages if you must. For those not subscribing to all
the groups, one has to deal with bounces when replying.
B) I believe that the problem here is that both the X11 server and the
X11 apps are using IP addresses that are assigned at the time the
app(s) start up. Switching locations will change the address(es)
assigned to the system, so that the connections that are existing will
no longer work ("no route to host" or some such error is likely, or a
significant delay).
I don't beleive that to be the case. The X11 server on my iBook,
running MacOS 10.2.3, opens TCP port 6000 with INADDR_ANY, which means
it will accept incoming connections to any address.
You can see this yourself, using the lsof utility...
[Mars:~] wpm% lsof -p 6449 | grep TCP
Xquartz 6449 wpm 0u inet 0x0257f21c 0t0 TCP *:6000
(LISTEN)
The '*' is the wildcard that indicates any incoming connection is
accepted, regardless of the destination IP address. If you see an IP
address, instead of a *, then that TCP port (assuming the state is
LISTEN) will only accept connections if they are sent to that specific
IP address.
So, what this means is when you change locations, your server should
still be able to accept new incoming connections, since it is address
agnostic. If it doesn't, then there may be a bug somewhere.
So it would seem. Thanks for the clarification and the spade work (I'm
currently running 10.1.5, without Apple's X11).
Regards,
Justin
--
Justin C. Walker, Curmudgeon-At-Large *
Institute for General Semantics | Men are from Earth.
| Women are from Earth.
| Deal with it.
*--------------------------------------*-------------------------------*
_______________________________________________
x11-users mailing list | email@hidden
Help/Unsubscribe: http://www.lists.apple.com/mailman/listinfo/x11-users
Do not post admin requests to the list. They will be ignored.