On Sunday March 29 2015 11:26:11 Jeremy Huddleston Sequoia wrote:

> > What/who creates that directory and file, and how to figure out when it 
> > gets deleted (if it's ever created)? I do get a /tmp/.X11-unix/X1 when I 
> > launch a 2nd X server (X11.app from MacPorts).
> 
> It's created when launching XQuartz.  The server chooses 0 if there is no 
> /tmp/.X0-lock file.  If there is a /tmp/.X0-lock lock file, it looks for 1, 
> then 2, and so on.

Ok ... so I did

%> repeat 5000 sh -c "ls -altr /tmp/ | fgrep  X11" | & fgrep -v Exit

and then clicked the XQuartz icon in the Dock. No output.

XQuartz.app/Contents/MacOS/X11 and 
/Applications/MacPorts/X11.app/Contents/MacOS/X11 are identical, and I have no 
~/.x11run .

Additional observations:
- MacPorts' X11.app doesn't execute my ~/.xinitrc (what keeps it running then?!)
- MacPorts' X11.app does create /tmp/.X11-unix/ but it has a socket called X0 
in there
- it sets DISPLAY=:0 but /opt/local/bin/xterm won't connect to that display; 
/opt/X11/bin/xterm will
- `ln -s X0 /tmp/.X11-unix/0` doesn't change that

In addition, when I start /opt/X11/bin/xterm via X11.app's Application menu and 
then exit it, X11.app hangs.

Let me just repeat that I haven't changed anything in my .login, .xinitrc and 
other personal session-startup scripts since moving my 10.6 install to a VM, 
and I am quite sure I didn't have this issue with Parallels Desktop 9 .
Anyway, using localhost:0.0 instead of :0.0 appears to be fix that allows what 
little use for X11 I have on that VM. As long as that's the case, the issue is 
rather academic to me.

R.
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription: 
https://lists.apple.com/mailman/options/x11-users/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to