CSE 113 - Spring 2008 - Banner
   CSE 113 - Spring 2008 - Introduction to Computer Programming I
CSE 113 - Spring 2008 - Navigation CSE 113 - Spring 2008 - Working from Home

Logging in from home:

Page created by Mike Buckley, modified for CSE 113 by Adrienne Decker

Connecting to Engineering Servers For PC Windows users


Download and install two programs from http://wings.buffalo.edu/computing/software/download/win/index.html :

*  UB-VPN
*  X-Win32 vers. 8.1 or later (X terminal application)

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.

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 CSE113, and select StarNetSSH, then Next
-    under Wizard: the host name is unix.eng.buffalo.edu, then select Next
-    under Wizard: type in your username and password, then Next
-    under Wizard: select SunOS, then Finish
*    Now, Right-click again on the blue X at the bottom of you screen, in the icon tray
*    Select My Sessions, CSE113 should be there, click on that
*    Wait for the terminal. It may take a minute or two.


*    To test that you have full graphics capability, type xeyes.

You now have slower but identical capability to your lab computer


Connecting to Engineering Servers For Mac users


Download and install the UB-VPN for Mac from: http://wings.buffalo.edu/computing/software/download/mac/security.htm
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.

Step 2 for non-graphics use: Log in using the default Mac Terminal program
*    Go to Applications/Utilities/  and start up the Terminal program. This is a full Unix terminal.
*    At the prompt, type: ssh  username@unix.eng.buffalo.edu     (substituting your UB-IT name for username)
*    Type in your password when requested. You now have a TEXT-ONLY Unix session.

Step 2 for graphics use: Log in using an X11 terminal
*    Install X11User.pkg on your MAC OSX installation disks (usually the final disk in the set that came with your computer)
      Note: MAC OSX 10.4 (Tiger) users will have to user the X11User.pkg that came with the computer installation disks.
      Earlier MAC OSX users (10.3.0 thru 10.3.9) can get it here:  http://www.apple.com/downloads/macosx/apple/x11formacosx.html
      as well as the installation disks.
*    Start up the X11 program. A terminal window will appear.
*    Type in your password if requested. You now have a GRAPHICS-CAPABLE Unix session.
*    To test that you have full graphics capability, type xeyes


Connecting to Engineering Servers From Other Systems on Campus

* If you are working on a machine where you can get a prompt (another unix/linux machine on campus) type:
         ssh  -X  unix.eng.buffalo.edu
     it will ask for your password - this is your password from Bell 340.

* You are now logged into the servers and are graphics-capable. You can type xeyes to check this.


Getting to the DrJava interactive development environment

Provided you have completed Module 1 (if not complete it in 340 Bell FIRST)

* When you have a unix prompt, simply type: drjava


An alternate means of working on labs:  divorced from the UB Sun 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 unix.eng.buffalo.edu system).

Step 1: Install Java, DrJava, and Libraries
*  Follow instructions on page 16 of the text. If you have the CD, all programs are available there. If not, then you will need to follow instructions for how to download.

* To download the libraries, go to this site.

* Make sure to set up the classpath of the interactions pane to know about the libraries (page 16 has these instructions). You may need to do this step every time you use DrJava on your machine.

Step 2: 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 unix.eng.buffalo.edu system, so that you can submit your program for grading.


CSE 113 - Spring 2008 - Footer

 

 
Page Maintained by: Adrienne Decker