• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: MATLAB and X11 errors
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: MATLAB and X11 errors


  • Subject: Re: MATLAB and X11 errors
  • From: Brian Arnold <email@hidden>
  • Date: Wed, 30 Jan 2008 09:11:06 -0500

Hi Ben,

Thanks for the tip!  

I have asked the customer to do some checking and should find out which X11 library is getting loaded soon.   If it turns out that the customer has Tiger's X11 installed, is there a standard procedure (or otherwise a recommended procedure) for uninstalling it?  And, should Leopard's X11 be reinstalled in case files or links have been broken by the Tiger install?

Thanks,

Brian

On Jan 29, 2008, at 10:43 PM, Ben Byer wrote:

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

  • Follow-Ups:
    • Re: MATLAB and X11 errors
      • From: Ben Byer <email@hidden>
References: 
 >MATLAB and X11 errors (From: Brian Arnold <email@hidden>)
 >Re: MATLAB and X11 errors (From: Ben Byer <email@hidden>)

  • Prev by Date: Re: 19.1W = ? 4hrs
  • Next by Date: command-control-F toggles fullscreen even if Enable Key Equivalents is off
  • Previous by thread: Re: MATLAB and X11 errors
  • Next by thread: Re: MATLAB and X11 errors
  • Index(es):
    • Date
    • Thread