msingh Posted December 23, 2008 Share Posted December 23, 2008 I need to get Matlab R2008a running on the Mac. Please see : http://forum.insanelymac.com/index.php?showtopic=142108 for the system details. I need X11 to run for this purpose. Initially, I had X11 installed. However, Matlab would appear to start up (no window yet), the icon would bounce around, and then the process would go almost zombie (MATLAB running under top, but no window and the icon disappearing from the tray at the bottom). I then tried to install Xquartz 2.3.1 (the latest version) but something went wrong there (basically, the install spawned a godawful number of font installation processes (mkfontscale, fc-cache etc.)) and I had to kill it. Thinking it would be best to start from a clean slate, I dragged X11 into the trash, said ok to moving files, and installed Xquartz 2.3.1 again. This time it worked. However, now Matlab complains that it cannot find X11 even after starting it (X icon in the menu bar). I am guessing that the problem might have something to do with the fact that there is something screwy with my display drivers (my installation is working inspite of having deleted / moved all the kexts out of Extensions and deleted Extensions.mkext - go figure). So, I want to restore X11 without a reinstall (have installed / configured too much stuff already). Is there a way to do this ? If you simply load the CD in a running system, it offers to restart your machine unlike the case with an official Leopard DVD, which would bring up optional installs. On my own, I started to boot from the CD, and selected only X11 and tried to install to the existing volume, but the time estimate was 46 minutes, which cannot be wrong. So I interrupted that install (tell me if I was just being paranoid). The system still is ok (I booted to check) but I am still without X11. Link to comment https://www.insanelymac.com/forum/topic/142456-x11-on-ideneb-13-1055-needed-for-matlab/ Share on other sites More sharing options...
msingh Posted December 24, 2008 Author Share Posted December 24, 2008 I need to get Matlab R2008a running on the Mac. Please see : http://forum.insanelymac.com/index.php?showtopic=142108 for the system details. I need X11 to run for this purpose. Initially, I had X11 installed. However, Matlab would appear to start up (no window yet), the icon would bounce around, and then the process would go almost zombie (MATLAB running under top, but no window and the icon disappearing from the tray at the bottom). I then tried to install Xquartz 2.3.1 (the latest version) but something went wrong there (basically, the install spawned a godawful number of font installation processes (mkfontscale, fc-cache etc.)) and I had to kill it. Thinking it would be best to start from a clean slate, I dragged X11 into the trash, said ok to moving files, and installed Xquartz 2.3.1 again. This time it worked. However, now Matlab complains that it cannot find X11 even after starting it (X icon in the menu bar). I am guessing that the problem might have something to do with the fact that there is something screwy with my display drivers (my installation is working inspite of having deleted / moved all the kexts out of Extensions and deleted Extensions.mkext - go figure). So, I want to restore X11 without a reinstall (have installed / configured too much stuff already). Is there a way to do this ? If you simply load the CD in a running system, it offers to restart your machine unlike the case with an official Leopard DVD, which would bring up optional installs. On my own, I started to boot from the CD, and selected only X11 and tried to install to the existing volume, but the time estimate was 46 minutes, which cannot be wrong. So I interrupted that install (tell me if I was just being paranoid). The system still is ok (I booted to check) but I am still without X11. Found a solution to this problem at : http://forum.insanelymac.com/lofiversion/i...php/t78528.html The issue is that the color depth is set to 32 bits in the default Mac install. This is one binary order of magnitude too high for X11. You need to set defaults write org.x.X11 depth 24 in Terminal. I just typed this in, and the running X11 and Matlab (R2008B) process woke up like Rip van Winkle. Found a solution to this problem at : http://forum.insanelymac.com/lofiversion/i...php/t78528.html The issue is that the color depth is set to 32 bits in the default Mac install. This is one binary order of magnitude too high for X11. You need to set defaults write org.x.X11 depth 24 in Terminal. I just typed this in, and the running X11 and Matlab (R2008B) process woke up like Rip van Winkle. By the way, I reinstalled X11 from the DVD through command line (its under /Volumes). Does not work from Finder. Then installed the latest vesion of Xquartz before setting the default depth. Link to comment https://www.insanelymac.com/forum/topic/142456-x11-on-ideneb-13-1055-needed-for-matlab/#findComment-1012956 Share on other sites More sharing options...
Recommended Posts