• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: X11 in Leopard: xterm on start-up
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: X11 in Leopard: xterm on start-up


  • Subject: Re: X11 in Leopard: xterm on start-up
  • From: Ben Byer <email@hidden>
  • Date: Sun, 28 Oct 2007 16:06:01 -0700

On Oct 28, 2007, at 11:36 AM, Jamie Kennea wrote:


On Oct 28, 2007, at 2:29 PM, Nathan wrote:

That's awesome!  I can take the DISPLAY=... trickery out of my
.profile and I no longer have to train coworkers about the DISPLAY
variable!  I just checked, and without my DISPLAY junk in my .profile,
it's set to /tmp/launch-zk0BPF/:0

Its great until you have a program that assumes that the string that comes before the :0 is a valid hostname and tries to resolve it, e.g.:

~ > ds9
_X11TransSocketINETConnect() can't get address for /tmp/launch-MYoUjW/:6000: nodename nor servname provided, or not known
Application initialization failed: couldn't connect to display "/tmp/launch-MYoUjW/:0"
Error in startup script: invalid command name "option"
   while executing
"option add {*Entry*BorderWidth} 1"
   (file "./zvfsmntpt/src/ds9.tcl" line 10)

Futzing with the DISPLAY variable can have unexpected results.

That program is doing something it shouldn't.  To make this work, we patched those functions (X11Trans*, which in this case live in libX11.dylib) -- that error indicates that program is using some private copy of those functions, which is not supported.   (I can't figure out why one would.)

Which version of ds9 is this?  I went and downloaded the MacOSX 10.4.x (Universal) version, and it didn't even seem to use X11.
--
Ben Byer
CoreOS / BSD Technology Group, XDarwin maintainer

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list      (email@hidden)

This email sent to email@hidden

  • Follow-Ups:
    • Re: X11 in Leopard: xterm on start-up
      • From: Jamie Kennea <email@hidden>
    • Re: X11 in Leopard: xterm on start-up
      • From: Jamie Kennea <email@hidden>
References: 
 >X11 in Leopard: xterm on start-up (From: Robert Tillyard <email@hidden>)
 >Re: X11 in Leopard: xterm on start-up (From: "Chris Linstid" <email@hidden>)
 >Re: X11 in Leopard: xterm on start-up (From: Martin Costabel <email@hidden>)
 >Re: X11 in Leopard: xterm on start-up (From: Ben Byer <email@hidden>)
 >Re: X11 in Leopard: xterm on start-up (From: Nathan <email@hidden>)
 >Re: X11 in Leopard: xterm on start-up (From: Jamie Kennea <email@hidden>)

  • Prev by Date: Re: X11 in Leopard: xterm on start-up
  • Next by Date: Re: X11 in Leopard: xterm on start-up
  • Previous by thread: Re: X11 in Leopard: xterm on start-up
  • Next by thread: Re: X11 in Leopard: xterm on start-up
  • Index(es):
    • Date
    • Thread