Xming for Windows

X11 windows is an application that allows you to operate a desktop application on a remote computer. The remote computer is usually running a Linux or UNIX distribution. There are several X11 windows applications available for Microsoft Windows, but we are recommending xming.

If you are using Linux on your personal computer, you do not need to install an X11 window server. X11 is supported by default in Linux. This is a simple tutorial on enabling X11 forwarding in Linux.

Versions of OS X before 10.6 included X11 support. If your version of OS X is 10.7 or later, you can install Apple’s XQuartz software to support X11 windows.

Update: Xming on Windows 8

Some people report that connecting to a remote server using Xming on Windows 8 works sporadically. Sometimes you connect, sometimes you don’t. If you are running Windows 8 and experiencing connection problems, try this version of Xming. It is compiled with Microsoft’s C compiler. The installation instructions are very similar to this how-to.

How to install Xming

  1. Connect to Chem-jukebox.
  2. Navigate to Jukebox > PChem > Xming.
  3. Launch the Xming application (Xming-mesa-6-9-0-31-setup.exe).
  4. Follow the on-screen instructions in the install wizard to:
    • Select the full installation.
    • Accept the default installation folder.
    • Accept the default additional tasks.

Create an XLaunch Shortcut

Use Xming’s XLaunch application to create shortcuts to remote computers. The shortcut will remember the name of the remote computer, your remote user name, and launch any remote applications for you.

  1. Start the XLaunch application either from the Windows start menu or from the xming-mesa installation routine. XLaunch opens the display settings dialog box.
  2. Choose how Xming displays programs.
  3. Select Start a program from the Session type dialog box.
  4. Enter the program you want to start on the remote computer, the name of the remote computer, and your user name on the remote computer. This example is for odin.chem.wsu.edu teaching cluster.
  5. Xlaunch asks for parameter settings. Accept the default and click Next
  6. Save your configuration in a location you will remember. For example, on the desktop. Rename the saved configuration AFTER you have saved the configuration.
  7. Click Finish after you have saved your configuration.
Xming Start Program window with the following parameters set: Start program: xterm; Using PuTTY (plink.exe): ticked; Connect to a computer: odin.chem.wsu.edu; Login as user: chem334.
Step 4: Fields completed for odin.chem.wsu.edu teaching cluster. Image links to a larger version.

Using Xming

XLaunch will start the X11 server and connect you to your remote computer, usually with ssh. Start any X11 application on your remote server and enjoy.

  1. The ssh application will prompt you with a PuTTY security alert that asks you to accept the remote computer’s host key. This only happens the first time you connect to the remote computer.
  2. The application asks for your remote password. Enter the password and click OK.
  3. You are connected to the remote computer. In this example, we are connected to dirac.chem.wsu.edu, running xterm. Enter any remote commands to use dirac.chem.wsu.edu.
Xterm command prompt window. Image links to larger version.
Step 3: Connected to the remote computer. Image links to a larger version.