Setup for X-windows (choose one):
Exceed (2-month evaluation copy, 60 Mbytes),
X-Win32 (1-month evaluation copy, 7 Mbytes),
and Cygwin/Xfree86 (free and harder to install).
First option (suggested): Using SSH Secure Shell and Exceed:
Contributed by Wan Zeng (wgzeng@cs.sfu.ca).
-
SSH Windows shell client is free: http://www.ssh.com.
Tunnel setup: Edit -> Settings -> Tunneling, click on
``Tunnel X11 connections.''
- Run Exceed.
- Run X applications from the SSH window, for example: xterm
&, or opnet &
Second option: Using PuTTY with Exceed:
Contributed by Chris Demwell (cdemwell at cs.sfu.ca).
Down-load putty.exe from:
http://www.tartarus.org/~simon/putty-snapshots/x86/putty.exe
.
-
Run PuTTY:
-
In the PuTTY configuration window type host name in the
"Host Name (or IP address)" field:
(Example: 199.60.1.63 or bast.cs.sfu.ca .)
-
Under "Protocol" click the "SSH" button.
-
In the "Category" window (left side of the PuTTY "Configuration window")
-> "Connection" -> "SSH" -> "Tunnels" (the last item on the list of options).
-
The window on the right will change. Check
the first item "Enable X11 forwarding".
-
Click "Open" (on the bottom).
The advanced user may save these parameters so that they need not
be entered each time. This is left as an exercise for the students.
For detailed documentation see:
http://www.chiark.greenend.org.uk/~sgtatham/putty/docs.
-
Run Exceed
-
Type "opnet&" in the PuTTy window.
Third option: Using SSH and TTSSH with Cygwin/Xfree86:
Contributed by Johnson Chen (hchenj@sfu.ca).
To run X windows application remotely, you should have a local X server
to provide the X window functionality. At the same time, since
ENSC/CS machines can only be accessed via SSH, you must have an SSH
client with the ability of tunneling unencrypted X window client programs
(such as OPNET).
For details, please see:
http://www.cae.tntech.edu/help/unix/x11/putty_xwin32_tunnelling.
Note, the remote operating systems in the following instructions
are Windows (98/2000/NT).
For other operating systems, please consult the above URL.
A. Installation
SSH clients:
-
SSH Windows shell client is free: http://www.ssh.com.
Tunnel setup: Edit -> Settings -> Tunneling, click on
``Tunnel X11 connections.''
-
TTSSH is free: http://www.zip.com.au/~roca/ttssh.html.
You must first install Teraterm Pro, then place TTSSH in the same directory,
and run TTSSH instead of Teraterm).
Tunnel setup: cancel the first connection screen,
then Setup -> SSH Forwarding, click ``X forwarding''.
(It may be a bit annoying that you will have to do this setup
every time. Use SSH Shell Client instead).
X server Cygwin/XFree86:
-
Cygwin is the Unix environment on Windows. It is free
from http://sources.redhat.com/cygwin. Simply click the right button and start installing.
-
To install Cygwin/Xfree86, run the Cygwin's installer (the setup file you use
to install Cygwin) and select the "XFree86-base" package from the "XFree86"
category.
- If installed proporly, you should see a directory
\usr\X11R6\bin, where "\" is the Cygwin installation directory (default is
C:\Cygwin).
B. Run
-
Run Xfree86. There are several ways to run Xfree86. One way is to run
"startxwin.bat" in "\usr\X11R6\bin" from WINDOWS. The other way is, in
CYGWIN, type "/usr/X11R6/bin/startxwin.sh".
-
Then, use the SSH client application (such as SSH Secure Shell Client).
- Run opnet.
(We presume that you have already setup environment file env_db9.1
as mentioned on the course Web site.)
- The OPNET console will appear
in the local X windows screen, just the same as if you were using
the SUN machines in the labs.
(Be patient, the speed depends on
the ISP and the utilization of the lab machines.)
Fourth option: Using SSH and Exceed:
Contributed by Inas Khalifa (ikhalifa@sfu.ca).
Required Software
- Tera Term: a
terminal emulator for MS-Windows that supports VT100 emulation,
telnet connection, etc.
- TTSSH: the SSH
extension of Tera Term, it will enable you to connect to ENSC hosts.
- Exceed: an X emulator, it allows you to view
X application on the Windows platform.
1. Tera Term
Downloading
- Go to
http://hp.vector.co.jp/authors/VA002416/teraterm.html
- Scroll down to "Tera Term Pro
ver. 2.3 for Windows 95/NT"
- Click "Download
(ttermp23.zip; 943,376 bytes)"
- When "File Download"
dialog appears, select "save this file to disk", click ok.
- Select a temporary directory to save that file.
Installation
- Double-click on ttemp23.zip
to extract its files to the same temporary directory (You may want
to check readme.txt).
- If you have an older version of
TeraTerm, unistall it first.
- Double-click on setup.exe to install.
- Click "continue" in all
the dialog boxes that appear during installation.
- The program will be added to your
Start Menu. Note the directory where the program is installed, e.g.,
C:\Program Files\TTERMPRO
- To make sure it has been installed
correctly, run the program from the Start Menu and telnet to any of
the hosts that still allow telnet, e.g., fraser.sfu.ca.
- Delete the temporary directory you used for downloading, you
do not need it any more.
2. TTSSH
- Go to
http://www.zip.com.au/~roca/ttssh.html
- Scroll down to "How to Obtain
and Install TTSSH"
- Click "Download the TTSSH software package"
- You will be directed to another page, click "USA"
- When "File Download"
dialog appears, select "save this file to disk", click OK.
(about 300k)
- Save the file to the directory where you installed TeraTerm,
e.g., C:\Program Files\TTERMPRO
Installation
- Double-click on ttssh154.zip
to extract its files to the same directory. This will create files
libeay32.dll, ttxssh.dll and ttssh.exe.
- Make sure there is a copy of
msvcrt.dll in your c:\Windows\system32
directory. The latest build of TTSSH requires this.
- Run ttssh.exe and the
extension should be available, i.e. you should see a new "SSH"
option in the "New Connection" dialog box.
- For your convenience, you may want
to make a shortcut to ttssh.exe on your desktop.
- To be able to display remote X
applications, from the Setup Menu, choose SSH forwarding.
- In the X Forwarding panel, check
the box to the left of "Display Remote X applications on local
X server".
- Select Save Setup from the Setup menu, so you do not have to
do the above 2 steps every time.
3. Running SSH and Exceed
- Run Exceed.
- Run ttssh.exe to connect to a remote host.
- Run X applications from the TTSSH window, for example: xterm
& or opnet &.
Last modified: Monday December 22 00:30:40 PST 2003.