Why does the display constantly increment?
Why does the display constantly increment?
- Subject: Why does the display constantly increment?
- From: Kevin Veroneau <email@hidden>
- Date: Wed, 23 Feb 2011 16:52:51 -0600
Hello,
Firstly, thank you for your last reply to my many questions.
Each time I launch X11.app, if I previously closed it, it increments the display number. This makes it very difficult to automate shell scripts on a remote host to target the X Server on the Mac. I forward the X clients directly through TCP on a private subnet, thus have no use for the encryption and/or compression of SSH forwarding.
On the *NIX machine with the X clients, I place in the .profile file, an export for DISPLAY to equal the IP and display number and screen on my Mac. Since this is a MacBook, I am unable to put it to sleep without first closing X11.app entirely(it just wakes back up if X11.app is running). This makes the automated .profile during a login to connect all my required X clients.
Is this due to a possible memory/port leak in X11.app? How does X11.app allocate a display or check a previous display before binding to the TCP port? After X11.app is closed normally via Command-Q, does it unbind itself from the TCP port correctly? Does X11.app increment display numbers for each successive launch as a security feature?
I am using Mac OS X 10.6.6's X11.app, fully updated.
Thanks.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden