Re: MATLAB R2007a, Leopard and X11
Re: MATLAB R2007a, Leopard and X11
- Subject: Re: MATLAB R2007a, Leopard and X11
- From: Ben Byer <email@hidden>
- Date: Sun, 11 Nov 2007 21:18:11 -0800
On Nov 11, 2007, at 9:41 AM, Andrew J. Hesford wrote:
MATLAB tends to be fickle when starting with X11 in Leopard. If I
start the program once, it requests an X11 connection, and launchd
starts the X server. As long as I keep the X server running, I can
quit and relaunch MATLAB, and everything works fine.
However, if I kill the server (after quitting MATLAB) and relaunch
MATLAB, I run into problems. Launchd will restart the X server, but
the X server will not respond to any connection attempts. This
occurs whether the connection attempts come from the local or a
remote client, and whether or not MATLAB is run on the local or a
remote client. MATLAB will hang, failing to start because the X
server is responding. Xterm similarly hangs, so I get no window when
I attempt to start it.
This seems to be another manifestation of this strange problem I've
been seeing. It also is what causes ssh connection attempts to
sometimes hang, if X11 isn't already running.
The easiest way to trigger this bug is to just run "xdpyinfo;
xdpyinfo" from Terminal with X11.app *not* running. Something about
the first xdpyinfo exiting so quickly is messing this up. I think
that xauth has the same problem.
No clue why (yet), but as was noted the easiest workaround is to
launch X11 first. (Yes, I know that this defeats the purpose of the
launchd support.)
--
Ben Byer
CoreOS / BSD Technology Group, XDarwin maintainer
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden