Cygwin (XDMCP)

From CsWiki
Jump to: navigation, search

In this setup you will use Cygwin to open remote X sessions on public servers using XDMCP (X Display Manager Control Protocol). This instructions are valid only for computers which are connected to the local network.

  1. Make sure that the \\cifserver\dist network drive is connected: go to "My Computer", and enter \\cifserver\dist in the address bar. Enter

your username and password if necessary.

  1. Go to
  2. In the "Installing and Updating Cygwin" section, right-click on setup.exe and save it in your computer. Put it in an accesible place, such as the Desktop, since this program not only an installer, but is also used as a package manager for Cygwin.
  3. Run setup.exe.
  4. Click "Next" to skip the introduction.
  5. Choose "Install from Local Directory" as the download source, and click "Next" to continue.
  6. Click "Next" to accept "C:\cygwin" as the Root Directory, and other options.
  7. Enter "\\cifserver\dist\cygwin" In the Local Package Directory, and click "Next" to continue.
  8. In the "Select Packages" page that follows, click on the + sign next to the option "X11". Click on "Skip" next to xorg-x11-base to mark that package for installation. Then click "Next" to begin the download process.
  9. After the download is complete, you can choose where setup will install some Cygwin icons. It is recommended to add an icon at least to the Desktop. Click on "Finish" to finish the installation process.
  10. Download our helper script and save it in C:\Cygwin.
  11. Run this script, which creates shortcuts on the desktop to connect to several servers. Each shortcut is just a link to the helper script from the previous step, with the server name as an argument. You can modify them to connect to your favorite servers.

You can now connect to the server by double-clicking its shortcut.

Note that if Cygwin isn't installed in the default directory C:\cygwin, you will have to edit the script and set the value of the CYGWIN_ROOT variable to the correct location.