Re: Finding my $DISPLAY programatically.
Re: Finding my $DISPLAY programatically.
- Subject: Re: Finding my $DISPLAY programatically.
- From: Jeremy Huddleston <email@hidden>
- Date: Sat, 3 May 2008 15:01:57 -0700
On May 3, 2008, at 11:25, Bill Janssen wrote:
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?
It's not a controller. It's a socket. The X11 server listens to it
just like it listens to the others.
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.
Right, the other machine needs to do MYIP:1. Stuff on the local
machine can use either localhost:1, MYIP:1, unix:1, :1, or /tmp/
launchd-XXXXX/:0 as $DISPLAY
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden