CSE 115 - Fall 2008 - Banner
UB -
University at Buffalo, The State University of New York Computer Science and Engineering
  • CSE 115 - Fall 2008
CSE 115 - Fall 2008 - Navigation
CSE 115 - Fall 2008 - Announcements

Connecting Remotely to the CSE Servers
Last modified: September 01 2008 10:55:25 AM

CSE 115 - Fall 2008 - Connecting Remotely to the CSE Servers

The following explanation of how to set up XWin32 and VPN to be able to connect to CSE machines was written by Michael Buckley, and edited slightly by Carl Alphonce and Adrienne Decker.

Logging in from home (PC Users):

Download and install two programs fromhttp://ubit.buffalo.edu/software/win/

* 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 - double click file you downloaded to run the setup program
* Run the "VPN Client"
* Select off-campus if you're off, on-campus if you're on, then "Connect"
* It will ask for your UBIT name and password.
* Once the remote peer is connected, you're in.
(Note: This is only needed if you are not already connected to UB's network either by virtue of being on campus connected through wireless or in the dorms already wired into the campus network.)

VPN Running

Step 2: Download, Install, and Start the XWin32 Program.
* Make sure a blue "X" appears in your lower right icon tray.

XWin32 Running in Icon Tray

Step 3: Start a session under XWin32

  • Right-click on the blue X
  • Select X-Config
  • Select the Wizard button (which will take you though a connection Wizard)
    • Name the new session timberlake and select SSH as the type - Hit Next
    • It is now asking for the name of the host you want to connect to, type timberlake.cse.buffalo.edu and then hit Next
    • Type in your username and password that would allow you to connect to timberlake (same as in lab) and hit Next
    • Now you are selecting essentially which type of OS your remote server is running, select Linux here and hit Finish.
  • Now, right click again on the blue X in the icon tray and select My Sessions -> timberlake
  • The terminal window will open momentarily

You now have slow but identical capability to your lab computer (except for running Eclipse - you probably do not want to run Eclipse over this type of connection. At times, it would run painfully slow. You are better off to install Eclipse locally on your machine. Please refer to instructions on the Resources page for this).

The drawback to this method is that the xterm packaged with XWin32 does not seem to support scrolling on the terminal window. If you do a lot of work in the terminal and like to scroll, you should install a PuTTY in addition to XWin and use PuTTY as your terminal client.


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. (When running, it will look basically the same as screenshot above.)

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@timberlake.cse.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
*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 terminal 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.

CSE 115 - Fall 2008 - Footer

Page maintained by Adrienne Decker

Contact: adrienne@cse.buffalo.edu | 130 Bell Hall | (716)645-3180 x 161