• 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: Dave Williss <email@hidden>
  • Date: Mon, 29 Oct 2007 08:57:16 -0500



Ben Byer wrote:


Biggest user-visible change: launchd support for X11. The only situation where you should need to manually start X11.app is if you are only running remote X11 applications.

The way that this is accomplished is by some slight-of-hand with the $DISPLAY variable -- if you look, it should be something like "/tmp/launch-vbXRyu/:0". If an X client connects to this, it will actually connect to launchd, which will start Xquartz if needed and pass the client's socket to the server.

All of that should be invisible to you; the X client library (libX11.dylib) was modified to support this, and all X11 applications link against this library. "DISPLAY=:0" would still work if X11.app is already running, but it will not trigger X11 to launch.
Ah ha! We have an application which uses X11 and have always used a "starter" program which starts X11 and then our own X11 app. With Leopard betas, the way we were starting X11 stopped working and we didn't know why. It would be really nice if this had been documented.

Is there some reason why the socket name has to be so cryptic? What does the vbXRyu stand for (if anything).

Dave Williss
MicroImages, Inc

_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list      (email@hidden)
This email sent to 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>)

  • Prev by Date: Re: Reverting to Tiger X11 and other issues
  • Next by Date: Re: Installing X11 from Tiger
  • 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