X11 For Mac Os Sierra

  • As of Mac OS X 10.7, Apple no longer ships an installed X11 client. The supported solution for Apple and for JLab is to install XQuartz. This software is installed as part of the JLAB Cue Software for Macs, however, if your Mac was not configured by the Computer Center, the software can be downloaded from the homepage for the XQuartz project.
  • I have the newest Mac running 10.13.3 and XQuartz is not working well at all. The X11 window that opens up during a session often becomes inactive even when I am typing in it. The resolution of the windows (like emacs) is very poor compared to the resolution of my LG monitor and I have not been able to get this adjusted.
  • X11.app was initially available as a downloadable public beta for Mac OS X 10.2 Jaguar and later included as a standard package for Mac OS X 10.3 Panther. In Mac OS X 10.4 Tiger X11.app.

top previous next


As of Mac OS X 10.7, Apple no longer ships an installed X11 client. The supported solution for Apple and for JLab is to install XQuartz.

Contents L frank baum.

  1. Installation

Important Note for macOS users: macOS machines require the installation of XQuartz 2.7.6.

Installing XQuartz

To see what version of macOS you have, click Apple -> About This Mac. You should see something similar to the image below:

To see what version of XQuartz you have, click Applications -> Utilities -> XQuartz. Then X11 -> About X11

If necessary, download the XQuartz installation package and double click it to install.

  • XQuartz 2.7.5 (macOS versions 10.6 - 10.9)

  • XQuartz 2.7.6 (macOS versions 10.10 and higher)

Installing FreeSurfer

Download the FreeSurfer installation package from this page. Double click the dmg then double click the freesurfer-Darwin-full.pkg to launch the installation wizard:

If you get this error:

Then you need to adjust your security settings to allow applications from 3rd party developers to be installed. To do this go to Apple -> System Preferences -> Security & Privacy -> General. Click the lock on the bottom left to make changes and under Allow applications downloaded from: select Anywhere.

After the package integrity has been verified, the introductory screen will appear. Click on Continue:

Next is the Read Me window. Click on Continue:

Mac Install X11

Next is the Software License Agreement window. Click on Continue:

Next is the Destination Select window. Click Change Install Location.. to change the default installation disk and folder (/Applications/freesurfer). Or click Install to go with default:

You may need to enter you password. The installation process will begin to write files and will take a few minutes to complete.

To begin using freesurfer, open a terminal window. The Terminal application is found under Applications -> Utilities -> Terminal:

Type the following lines in the terminal window to source the freesurfer environment:

After you source freesurfer you should see some output similar to the window below:

If you use freesurfer frequently and want to avoid typing the above lines of code every time you open a terminal window, you can create a file called .profile in your home directory which contains those two line. This will cause the terminal window to automatically source freesurfer every time it is opened.

X11 For Mac Os Sierra Free

At this point you are ready to begin using the freesurfer software. If you haven't done so already, obtain a license, and copy the license.txt file into your $FREESURFER_HOME (Applications/freesurfer) directory.

See the this page for some example commands to test that FreeSurfer is installed and running properly.


X11 For Mac Os Sierra Update

If you receive the following error when running the test_commands.sh.15 script:

Then, you need to install a Freeview patch to have this work with your Mac OS version. Download the patch (~33 MB) from /autofs/cluster/pubftp/dist/freesurfer/6.0.0-patch/Freeview_6_0_0_MacOS_patch.zip follow the following instructions:

1)To download the patch, follow instructions on using the ftp file exchange from this wiki page.

2) Remove your existing Freeview.app application bundle by sending it to the trash (and then emptying the trash).You can also do this from the terminal by cd'ing to the top-level ./freesurfer subdirectory and then doing

3) Copy the new Freeview.app.zip to where your old Freeview.app was located and uncompress it (so it becomes the replacement Freeview.app in your current FreeSurfer installation).

4) Remove ./freesurfer/lib/gcc/lib/libgomp.1.dylib from your existing freesurfer installation.

X11 Macos High Sierra

5) Copy the ./freesurfer/lib/gcc/lib/libgomp.1.dylib from the patch archive to /freesurfer/lib/gcc/lib in your current freesurfer installtion.

X11 For Mac Os Sierra Download

6) Try running the Freeview.app and loading a volume with it.