Thanks for looking that up (I am wondering why it's not default) -- I did that and hopefully X won't need restarting.
Boyana -- Boyana Norris, Computer Scientist, Argonne National Laboratory norris at mcs.anl.gov, +1.630.252.7908, http://www.mcs.anl.gov/~norris/ On Oct 28, 2009, at 10:09 PM, Barry Smith wrote: > > Looks like for 10.5 it is > >> defaults write org.x.X11 nolisten_tcp -boolean true > > On Oct 28, 2009, at 9:04 PM, Satish Balay wrote: > >> Perhaps the relavent setting can be toggled with: >> >> defaults com.apple.x11 nolisten_tcp -boolean true >> >> http://lists.apple.com/archives/x11-users/2005/May/msg00073.html >> >> Satish >> >> On Wed, 28 Oct 2009, Barry Smith wrote: >> >>> >>> On my Mac >>> >>> bsmith-laptop:~/Src/petsc-dev] barrysmith% echo $DISPLAY >>> /tmp/launch-r289TD/:0 >>> >>> I don't seem to have a problem with X when I change my IP address. >>> I carry my >>> laptop around open it and use X and it pretty much always works. >>> >>> Barry >>> >>> >>> On Oct 28, 2009, at 8:02 PM, Satish Balay wrote: >>> >>>> On Wed, 28 Oct 2009, Boyana Norris wrote: >>>> >>>>> Apart from the idiot reasons, X11 tests can easily fail on an >>>>> Apple laptop >>>>> because the X server becomes unusable every time the IP changes, >>>>> which is >>>>> fairly frequently. I don't really use X a lot and thus do not >>>>> restart the >>>>> server every time I move the laptop, so these tests fail almost >>>>> all the >>>>> time >>>>> (but I've learned to ignore those errors). >>>> >>>> Linux on laptops used to have this problem - but it doesn't exist >>>> anymore. >>>> >>>> The reason is - x-server is now bound-to/listen-on a unix socket >>>> [:0] >>>> - and not a tcp socket [localhost:0] - so hostname change doesn't >>>> affect it. [from ps:] >>>> >>>> /usr/bin/Xorg :0 -nr -verbose -auth >>>> /var/run/gdm/auth-for-gdm-l9vnzI/database -nolisten tcp >>>> >>>> Not sure how this can be done on mac/windows.. >>>> >>>> Satish >>> >> >