Software > Software List > Mathematica

Instructions for Setup Mathematica Fonts

If you want to remotely use Mathematica on LEAF or ALTAIR, you probably may face this kind of problems or similar "xset errors":

xset: unable to open display ""
xset: unable to open display ""
xset: unable to open display ""
Can't open display.

Currently, following users may suffer from fonts problems:

Official solutions:

http://support.wolfram.com/mathematica/systems/unix/general/fonterrors.html
http://reference.wolfram.com/mathematica/tutorial/FontsOnUnixAndLinux.html

In the following sections, we provide one working solution for Linux users as an example.


Copy Fonts

You could either download font files or copy them from our LEAF server.

Firstly, create a directory under "/opt". You could also use "/usr/lib/X11/fonts" directory.

-bash-3.2$ mkdir /opt/mathfonts

Then, copy fonts files from LEAF. (If you download font files, just unpack them in "/opt/mathfonts")

scp -r lih307@leaf.cc.lehigh.edu:/usr/local/mathematica/6.0/SystemFiles/Fonts ./opt/mathfonts

Setup Local X Server

Type following commands to refresh your local X server:

-bash-3.2$ xset fp+ /opt/mathfonts/Fonts/Type1
-bash-3.2$ xset fp+ /opt/mathfonts/Fonts/BDF
-bash-3.2$ xset rehash

For Cygwin, please use "xset fp rehash" to refresh font server.

Log on and Try !

Please log onto LEAF/ALTAIR, try "mathematica"

-bash-3.2$ mathematica

If you get following screen, you probably successfully setup your font files.


If you have problems, please feel free to contact us.

Last Modified: April 28, 2009