MLUG: [UUG/MLUG] How I got mathmatica to display on my machine off the indy's
[UUG/MLUG] How I got mathmatica to display on my machine off the indy's
Email address obfuscation in effect -- please click here to turn it off.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
This is a great idea!  I've been wanting to use mathmatica to check my
homework and do my labs in my room.  

Here are the steps I used to get it working (after reading up on
everyones suggestions)

Download the fonts (thanks Mark): 
http://support.wolfram.com/Systems/Unix/FE/Fonts/PCF.tar.Z

Uncompress:
tar xvfz PCF.tar.Z
This creates a bunch of fonts under ./PCF/

Then I determined where Debian kept the rest of X's fonts... which is
/usr/X11R6/lib/X11/fonts/ 
so I made the directory (after su ing to root)
/usr/X11R6/lib/X11/fonts/math and copied everything under ./PCF/ to that
directory.

run "mkfontdir /usr/X11R6/lib/X11/fonts/math/" 
the first argument being of course whatever directory you put the fonts.

Edit your XF86Config
Debian puts this file in /etc/X11/ but many distros use
/usr/X11R6/lib/X11/ (if memory serves).  Find the correct file and add
the following line to the Fonts Section (usually the first section):
	FontPath	"/usr/X11R6/lib/X11/fonts/math/"
once again /usr/X11R6/lib/X11/fonts/math/ should be wherever you put the
fonts.


Restart X (with cntrl+alt+backspace keycombo)

Give a computer from the indy lab access to display on your machine:
I used the command "xhost +indy1.gclab.missouri.edu"
Dooley told me that I should use xauth instead.  I didn't get all that
hex key crap.  I should sit down and read the man page.  I will someday,
Ryan, I swear.  In the meantime can someone tell me a one liner to add a
host to xauth?
 
start a terminal window (i use Eterm) and login to an indy
I used the command ssh EMAIL:PROTECTED
of course, replace 774000 with your own student number
use the same password as you would when logining into the indy's locally
(ofcourse)

run mathmatica from that term window:
mma

Thats it.  I'm in a dorm that has ethernet (hudson) so I have a pretty
fast connect to the GCB lab.  I don't notice much speed differnce
between running it locally and remotely.  If i get time one of these
days I'd like to play with LBX, it sounds really neat.  
 
I hope I didn't skip any important steps.  While I was at it I went
ahead and installed some true type fonts using xfstt. It was just a
matter of adding another line to the XF86Config that told X where xfstt
was, and then coping Window's .ttf files to xfstt's font directory. The
fonts display pretty well.  I also found a bunch of fonts of gimp.org's
ftp site.  

Jay

Nathan Miller wrote:
> 
> To anyone on campus,
> 
> I think it is possible to run Mathematica through telnet or ssh on your
> own computer from an MU SGI workstation.  If anyone knows how, please
> fill me in.
> 
> nrm8d1