What You will need (if you have a windows machine)
- an LRC account
- Cygwin installation on your machine
Cygwin installation
- You can run the installer directly of
the net
- You will be asked to:
- choose a mirror site to run the installation from
- choose an installation path (your root directory) on your machine
- choose a directory for the installer to download temporary files at
its called "local package directory"
default choices will work for the above
- choose a mirror site in US to download packages from
- You will be asked to select packages. Go with the default
and do the following
- expand (+) X11 and select xorg-x11-base, WindowMaker.
Bunch of other stuff will get selected automatically
- expand (+) net and select open-ssh . Again some other stuff
will get selected
- click next for installation, it will take a while to install
- Once installed with the startup icon on your desktop, double clicking
it will open a terminal. Type startx. That will open a window with a terminal
Connecting to LRC and starting matlab
In the terminal that cygwin opened, use ssh to connect to an lrc machine
$) ssh -X "yourlogin name"@"lrc machine name".ece.utexas.edu
for instance i would type: ssh -X sreangsu@linux04.ece.utexas.edu
After you have logged in you have to enter
$) module load matlab
$) matlab
The matlab window whould open up. In case module command does not work, type
$) resetenv
and follow the instructions to fix your environment variables and then
restart matlab as above.
Speeding up the connection
If you use the gui of matlab, it is going to be slooow. Using lbx might speed
things up, your milage will vary. On the Lrc machine, type:
$) lbxproxy
It will respond with a port number (say its 42). Then type
$) export $DISPLAY="lrc machine name".ece.utexas.edu:42
$) xhost + "lrc machine name".ece.utexas.edu
then start up matlab as before.