For Mac users, you can download the program Chicken of the VNC
that will allow you to connect to a UT Math server. First, follow the
instructions on this webpage, up until the part that says "Run VNC
viewer from a Windows computer". Remember your password!


When you open CotVNC on your Mac, you'll be asked for a display
number and a server. If you followed the instruction on how to run
vncserver, then you were given a server and display name that
looked something like

             lab17:1

In this example, the server name you should give CotVNC is
lab17.ma.utexas
.edu
, and the display number you should give
CotVNC is number following the ":", in this case enter 1. The
password is whatever you chose when running vncserver.


When you are done you'll need to end the session by running (in
this example)

             vncserver  -kill :1

This website should be useful as well.

How to change the viewer.
When you run vncserver the first time, it creates a file called xstartup
in the directory .vnc

You need to edit this file.  If you are already in /home/username you
can just type
                emacs .vnc/xstartup
If you are not in your home directory, you can type
                emacs /home/username/.vnc/xstartup
The file xstartup should look something like this
    #!/bin/sh                                                                     
    xrdb $HOME/.Xresources
    xsetroot -solid grey
    #x-terminal-emulator -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" & 
    #x-window-manager &                                                           
    /etc/X11/Xsession


The lines beginning with the # symbol are comments and do not
contribute to the executable code. You should edit this file by putting
a # symbol at the beginning of the final line, and add the line
/usr/bin/xfce4-session in its place. So the final two lines of the file
should be
    /usr/bin/xfce4-session
    #/etc/X11/Xsession 
                                                           
To save these changes, press ctrl-x ctrl-s. To exit the emacs text editor,
press ctrl-x ctrl-c.

This will cause vncserver to use Xfce to view the desktop instead of GNOME
and should work better on Mac computers.

Another option is to use fvwm instead of Xfce. To do that, add the line
       /usr/bin/fvwm2
instead of /usr/bin/xfce4-session in the above instruction. The screen will
look completely gray after you log-in. If you click the mouse, then a menu
will open with an option for Xterminal or other applications.