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: Finding my $DISPLAY programatically.



> > I'm assuming he means "0.0".  So, I guess we need to know what the
> > difference is -- I was just presuming that it was a different major
> > display number.  So, when X11.app "runs again", what does it do?
> 
> It takes the next available X11 DISPLAY as determined by /tmp/.X##- 
> lock ... but the launchd socket basename is always :0

Sure, but after the server is running, the launchd socket isn't the
interesting controller, is it?  So when the server is running on port
6001 (display :1), you need to send that info over to the remote
machine as MYIP:1.

Bill
 _______________________________________________
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: 
 >Finding my $DISPLAY programatically. (From: Robert Tillyard <email@hidden>)
 >Re: Finding my $DISPLAY programatically. (From: "Mark J. Reed" <email@hidden>)
 >Re: Finding my $DISPLAY programatically. (From: Robert Tillyard <email@hidden>)
 >Re: Finding my $DISPLAY programatically. (From: Jeremy Huddleston <email@hidden>)
 >Re: Finding my $DISPLAY programatically. (From: Bill Janssen <email@hidden>)
 >Re: Finding my $DISPLAY programatically. (From: Jeremy Huddleston <email@hidden>)
 >Re: Finding my $DISPLAY programatically. (From: Bill Janssen <email@hidden>)
 >Re: Finding my $DISPLAY programatically. (From: Jeremy Huddleston <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.