Installing XQuartz and Enabling GLX (OpenGL).

Tags Mac xquartz

XQuartz is the Mac software package to display X11 graphical applications from remote servers, primarily Unix/Linux.  Many graphical applications use a display library called OpenGL, which is supported by XQuartz but not enabled by default.  It is not exposed to the preferences menu, and must be enabled by the defaults tool.  It is used particularly by chemistry and GIS applications.

Step-by-Step

  1. Download and install XQuartz from www.xquartz.org. This takes a few minutes to complete.
  2. Log out and back in to your Mac.
  3. Open Terminal (Applications/Utilities/Terminal.app) and paste this complete line in and then press RETURN. This enables GLX​​​​​
defaults write org.macosforge.xquartz.X11 enable_iglx -bool true

 

Upgrading 2.7.x to 2.8.x

If you're upgrading from 2.7.x to 2.8.x, we have found it is best to remove the 2.7.x configuration files by running the following:

cd ~/Library
rm -rf Caches/org.macosforge.xquartz.X11
rm -f Logs/X11/org.macosforge.xquartz.log.old
rm -f Preferences/org.macosforge.xquartz.X11.plist
rm -f HTTPStorages/org.macosforge.xquartz.X11.binarycookies
rm -f Logs/X11/org.macosforge.xquartz.log

Details

Article ID: 89669
Created
Fri 10/18/19 12:47 PM
Modified
Thu 4/15/21 7:41 PM