goto UNSW  home page
CONTACTS
Notices
 IT Notices

Help
 Physics Mail
 Secure Shell
 Cygwin X11 Server
 Paper guidelines
 Helpdesk
 Request help
 Contact us

Downloads
 Software
 Account application PDF
 Useful mirrors

Network connection
 Network Access Request
 Network settings

Info exchange
 Physics mail lists
 School forums
 Computing forum

Documentation
 Workstation Guide HTML/PDF
 PDF Scanning
 Computing Facilities
 Workstation Software
 UN*X Security Guide
 Multimedia Facility
 CD creation quick guide
 OCR quick guide
 C Language Course Notes
 DEC F77 guide
 Proxy information

Quicklinks
 Physics IT Support
 School of Physics
 IT Assist@UNSW
 Linux links
 AARnet Mirror
 Web design

Cygwin, X, SSH

The following checklists provide an affordable X server solution for the Microsoft Windows platform. This solution uses Cygwin X11R6 in 'multiwindow' mode and Secure Shell for Workstations. Similar can be achieved using Cygwin with Mindterm instead.

Prerequisites

You'll need either our Windows Setup CD-ROM of various useful software or access to Cygwin (including the X11R6 packages) and Secure Shell for Workstations installation packages. You'll also need lots of disk space---200MB free for a basic Cygwin installation and XFree86, plus 8MB free for Secure Shell for Workstations---this NTFS-based estimation does not take into account the space required during installation.

Note: remove all traces of any previous Cygwin installation before commencing installation. If your new Cygwin installation fails to start correctly or complains of undefined references (eg., to __getreent) then search for CYGWIN1.DLL and delete any occurrences outside your new \CYGWIN\ installation directory branch.

Checklists

CYGWIN WITH XFREE86
-------------------------
[ ] Navigate to the Cygwin folder on the CD and double-click SETUP
[ ] Choose (.) Install from local directory and choose to install to \CYGWIN
[ ] Wait for the 'Select Packages' window to appear
[ ] Scroll down the package list and ensure XFree86 is set to Install rather than 'Default'
[ ] Click Next> and wait for Cygwin to install; set post-installation options (eg., desktop shortcuts) as desired and quit the installer

CYGWIN XFREE86 MULTIWINDOW
-------------------------
[ ] Open \CYGWIN\USR\X11R6\BIN\ in Windows Explorer
[ ] Right click drag STARTXWIN.BAT to your desktop; release and 'Copy'
[ ] Optionally, copy STARTXWIN.BAT to Startup items so that X starts when you logon

SECURE SHELL FOR WINDOWS WITH X11 FORWARDING
-------------------------
[ ] Start Secure Shell for Workstations
[ ] Edit > Settings > Profile Settings > Tunneling > [X] Tunnel X11 Connections
[ ] Click [OK]
[ ] Quick Secure Shell for Workstations; click 'Yes' on save settings prompts
[ ] Start XWIN using the desktop shortcut
[ ] Start Secure Shell for Workstations, login, and open X11 applications as desired

OPTIONAL: SET PATH SO CYGWIN LIBRARIES ARE REACHABLE FROM CMD.EXE
-------------------------
[ ] Click Start (> Settings) > Control Panel
[ ] Open the 'System' control panel and click the 'Advanced' tab
[ ] Click the 'Environment Variables' button
[ ] Under SYSTEM VARIABLES add to "Path" the string ;C:\CYGWIN\BIN
Note: no spaces and the first character is a semicolon
[ ] Click the three OK buttons to close the System control panel

Testing

You should now have a working X11 server and the ability to more securely connect to remote *NIX machines to run X11 applications. This should provide a quick test:

  • Double-click the desktop XWin shortcut; a black X11 logo should appear in the system tray (bottom right corner of the screen by default)
  • Open Secure Shell for Windows and login to the desired host
  • Start an X11 application (for example 'xterm'); the X11 window should open in its own window as per regular Windows applications

Contact the Physics IT Support Helpdesk if you have any questions.