Using Xorg
Here are instructions for starting various X-sessions using Cygwin with Xorg on Windows 2000 or XP.
PLEASE NOTE that you may need to edit the /usr/X11R6/bin/startxwin.bat or startxwin.sh scrips to do what you want (for example, automatically start a terminal after starting the X server).
When you have started X Windows on your local machine, a window called
Cygwin/X will open with a bash terminal inside. All of the following instructions should be run in that bash terminal. Left clicking on the green background of the Cygwin/X window gives you a list of commands. For example, to Kill an application, after left clicking on the background, select "Kill." Whatever X application you click on next will be terminated.
For further help, please refer to
http://cygwin.com and
http://cygwin.com/xfree.
Accessing UNIX and OpenVMS systems using SSH
UNIX (lnx201: linux, sol333: Solaris, lns101: Tru64):
- Start X Windows on your local machine.
- type startxwin from a cygwin bash shell
- From the bash terminal in the Cygwin/X window, ssh into the remote machine.
- type ssh -X user@host example: ssh -X dab66@lnx233.lns.cornell.edu or ssh -X dab66@128.84.45.54
- enter your password.
- You may now start remote X clients.
- type xterm& to start an xterminal. (the "&" allows you to open multiple windows from one shell.)
- type xclock& to start xclock.
- type netscape& to start netscape.
- Depending on the system, exit or logout to disconnect from the remote machine.
OpenVMS (lns62: a VAX, lns61: an Alpha):
- Start X Windows on your local machine.
- type startxwin from a cygwin bash shell
- From the bash terminal in the Cygwin/X window, ssh into the remote machine.
- type ssh -X user@host example: ssh -X dab66@lns61.lns.cornell.edu or ssh -X dab66@128.84.47.61
- enter your password.
- Type the command CREATE/TERMINAL to start a DECterm.
- You may now start X programs on the remote machine by typing commands in the original login window.
- Type the command SPAWN/NOWAIT MCR DECW$CLOCK to start the VMS version of XClock
- Type logout to disconnect from the remote machine.
Accessing PC140 from inside the lab using rsh.
*Windows 2000h*(PC140):
- Start X Windows on your local machine.
- type startxwin from a cygwin bash shell.
- Add the host machine to your Access Control List.
- type xhost host example: xhost pc140.lns.cornell.edu
- From the bash terminal in the Cygwin/X window, rsh into the remote machine
- type rsh host x11 -display your_computer example: rsh pc140.lns.cornell.edu x11 -display pc54.lns.cornell.edu or rsh pc140.lns.cornell.edu x11 -display 128.84.45.54
- You may now log into the remote pc with your LNSNTCAD UserID and Password.