Logging in from home: for CSE116 and CSE504, your host computer in the Baldy 21 lab is the Linux computer styx.cse.buffalo.edu; at home or in the dorm, your host computer is timberlake.cse.buffalo.edu. Your folders and files are visible identically on both.
For PC Windows users (Mac users, see below)
Download and install two programs (from http://ubit.buffalo.edu/software/win/)
* UBVPN at http://ubit.buffalo.edu/software/win/ubvpn/
* X-Win32 vers. 8.1 or
later (X terminal application) at http://ubit.buffalo.edu/software/win/XWin32/

Step 1: Install and run the VPN Client
* It needs to be downloaded to your computer
* It has a Setup program that installs it to your computer.
* Run the "VPN Client"
* Select off-campus if you're off, on-campus if you're on,
then "Connect" (icon in upper left)
* It will ask for your UBIT name and password.
* Once the remote peer is connected, you're in.
note: this step
may NOT be necessary if you're wired in at the dorms. If the VPN does not
connect, move on to the next step.
further note: some students have
reported that this step INTERFERES with succussful
logging. If you cannot continue to the next step, disconnect the VPN.
![]()
Step 2: Download, Install, and Start the XWin32 Program
* Make sure a blue "X" appears in your lower right
icon tray
![]()
Step 3: Start a session under XWin32
* Right-click on the blue X
* Select X-Config
* Select the Wizard Button
- under Wizard: name a new session CSE116 or CSE504, and select ssh, then Next
- under Wizard: the host name is timberlake.cse.buffalo.edu, then select Next
- under Wizard: type in your username and password, then Next
- under Wizard: select Linux, then Finish
* Now, Right-click again on the blue X at the bottom of you screen, in the icon tray
* Select My Sessions, CSE116 or CSE504 should be there, click on that
* Wait for the terminal. It may take a minute or two.
You now have slow but identical capability to your lab computer. Type /util/bin/jgrasp (and be very patient) to check it out.
![]()
An alternate means of editing Java: divorced from the UB Linux environment.
You can edit, compile, and run Java programs on your PC with no connection to UB (until you're finished with the program, at which point you will need to transfer your program over to the timberlake.cse.buffalo.edu system).
Step 1: Install Java on your PC.
* Go to the Java website and download the Java Development Kit
here: JDK6 Update 16
(it's 73.54 mBytes). Once you have installed it, your
PC will be capable of compiling and running Java programs.

Step 2: Install a suitable editor.
* CSE115 students should use either JGrasp or Eclipse:
- For JGrasp, go to
the JGrasp web site and download JGrasp
here: www.jgrasp.org (it's about 2 MBytes).
- Eclipse is available at Eclipse Downloads - choose the
U.B. mirror site for a source.
Step 3: Install a file transfer program.
* Use FileZilla: (download from here),
(directions
for installation here). This provides the means to transfer your Java
program from your PC to the timberlake.cse.buffalo.edu computer,
so that you can submit your program for grading.
For Mac users:
Download and install the UB-VPN for Mac from: http://ubit.buffalo.edu/software/mac/
Step 1: Install and run the VPN for Mac Client
* It has a Setup program that installs it to your
computer.
* Run the "VPN Client"
* Select off-campus if you're off, on-campus if you're on,
then "Connect" (icon in upper left)
* It will ask for your UBIT name and password.
* Once the remote peer is connected, you're in.
note: this step
may NOT be necessary if you're wired in at the dorms. If the VPN does not
connect, move on to the next step.
further note: some students have
reported that this step INTERFERES with succussful
logging. If you cannot continue to the next step, disconnect the VPN.
Step 2 for graphics use: Log in using an X11 terminal
* X11 is a graphics-capable terminal, and it comes with the
Mac OSX system. It's in Applications/Utilities.
* Start up the X11 program. A terminal window will appear. If
a terinal window does not appear, select
Applications/Terminal from the menu bar.
* At the prompt, type:
ssh -X
username@timberlake.cse.buffalo.edu
(substituting your UB-IT name for username)
* Type in your password when requested. You now have a
GRAPHICS-CAPABLE Unix session.
You now have slow but identical capability to your lab computer. Type /util/bin/jgrasp
(and be very patient) to check it out.
![]()
An alternate means of editing Java: divorced from the UB Linux environment.
You can edit, compile, and run Java programs on your Mac with no connection to UB (until you're finished with the program, at which point you will need to transfer your program over to the timberlake.cse.buffalo.edu system).
Step 1: Install a suitable editor.
* CSE116/504 students should use
either JGrasp or Eclipse:
- For JGrasp, go to
the JGrasp web site and download JGrasp
here: www.jgrasp.org (it's about 2 MBytes).
- Eclipse is available at Eclipse Downloads - choose the
U.B. mirror site for a source.
Step 2: Install a file transfer program.
* Use Fetch: (download from
here), (directions for
installation here). This provides the means to transfer your Java program
from your PC to the timberlake.cse.buffalo.edu system, so that you can submit
your program for grading.
![]()