Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: X11 in Leopard: xterm on start-up



That would make it hard to write code to set DISPLAY to that, but apparently it also works to just NOT set it at all. Somewhat counter-intuitive to a veteran X11 user, but once you know it, things are actually pretty easy.

One possible "fix" that Apple could do to make this change backwards compatible for people who explicitly set DISPLAY to unix:0 or just ":0" in various .profile, .login, .cshrc, or whatever: In libX11, if DISPLAY is set to something that would make it local and the socket isn't there, have it try the launchd socket. Of course, if the launchd socket name is randomly generated, that might be a bit difficult :-)

I ended up modifying our code to work the "new" way 10.5 and the "old" way for previous versions.

John Davidorff Pell wrote:
Its randomly generated.

JP


On 29 Oct 2007, at 06:57, Dave Williss wrote:

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



_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/x11-users/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>)
 >Re: X11 in Leopard: xterm on start-up (From: Dave Williss <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.