Re: MATLAB and X11 errors
Re: MATLAB and X11 errors
- Subject: Re: MATLAB and X11 errors
- From: Ben Byer <email@hidden>
- Date: Tue, 29 Jan 2008 19:43:30 -0800
On Jan 29, 2008, at 7:43 AM, Brian Arnold wrote: Hello X11 users,
I am investigating what might be causing a number of new X11 errors affecting some MATLAB users on Leopard. The main symptom is that the user cannot connect with X11, which effectively disables the GUI.
Here are two examples. The first is found in this Terminal output when trying to start MATLAB from the command line:
bash-3.2$ cd /Applications/MATLAB_R2007b/bin bash-3.2$ ./matlab _X11TransSocketINETConnect() can't get address for /tmp/launch-naI09R/:6000: nodename nor servname provided, or not known _X11TransSocketINETConnect() can't get address for /tmp/launch-naI09R/:6000: nodename nor servname provided, or not known Warning: Unable to open display '/tmp/launch-naI09R/:0'. You will not be able to display graphics on the screen.
This indicates that matlab is somehow loading a libX11.dylib which doesn't understand the /tmp/launch-xxxxx DISPLAY format -- i.e. not the /usr/X11/libX11.dylib which came with Leopard. Maybe they reinstalled the Tiger X11? You should try to get them to run otool -L on the binary (to verify install_name_tool has not been used to change the library path), and also get the filesize and modification date of /usr/X11/lib/libX11.dylib and compare it to the version of the OS they report as using.
This customer was able to work around the problem by defining DISPLAY as :0, but that is clearly not the right workaround, as customers should not need to be redefining DISPLAY.
The second example is a customer receiving this in the Console:
1/28/08 6:41:52 PM org.x.X11[202] TransformProcessType: Success 1/28/08 6:41:52 PM org.x.X11[202] Launchd command line argument noticed. 1/28/08 6:41:52 PM org.x.X11[202] X11.app starting: 1/28/08 6:41:52 PM org.x.X11[202] X.org Release 7.2 1/28/08 6:41:52 PM org.x.X11[202] X.Org Xquartz X Server 1.3.0-apple5 1/28/08 6:41:52 PM org.x.X11[202] Build Date: 20071210 1/28/08 6:41:52 PM org.x.X11[202] Xquartz: run by launchd for fd 0 1/28/08 6:41:52 PM org.x.X11[202] _XSERVTransmkdir: ERROR: euid != 0,directory /tmp/.X11-unix will not be created.
All of those messages are normal. The "error" is harmless. -- 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