1.3. Launching an X Server

The first thing you need to do is to run an X server on the machine where you are actually seated. How you do this depends on what X server has been installed on that machine, but on Windows machines it's usually as simple as finding the X server in the Start button's "All Programs" menu and launching it. On Linux and Mac OSX machines, it's usually even simpler than that.

Starting Xming

You have two options here.

  • Find the start menu for Xming and run "Xming". (If you are using a machine with a two-button mouse, right-click on the menu shortcut for running Xming and add the parameter -emulate3buttons 50. This will allow you to simulate clicking a middle mouse button by pressing both mouse buttons at once.)

    You should see a small black "X" in the tray at the right end of your Windows task bar.

  • Alternatively, you can launch the server and a remote client application in one step with Xming's XLaunch program, described below.

Starting Cygwin/X

If you have installed Cygwin/X, you may have a shortcut on your desktop or in your start menu to run it. Do so. You should see a small black "X" in the tray at the right end of your Windows task bar.

If you do not have such a shortcut, you can open a CygWin command window and give the command

startxwin

You should see the small black X mentioned above and will also probably see an xterm window open up in a few moments. This is an X application that is running on your local machine, not on a remote Unix box.

Linux and Mac OS/X Servers

If you are running a Linux or a Mac OS/X machine and see windows, menus, etc., when you log in to your local machine, then you are already running an X server and don't need to do anything special in this step. (Linux is an option for MS Windows users as well. You can get Linux distributions that can be booted and run from a CD or a flash drive. See the CS 252 Library page for further information.)

Some Mac OS/X distributions treat X as an optional package in the operating system. COnsult your Mac's documentation to see how to install/activate it.

Starting StarNet X-Win32

From the Start button menu, find and run X-Win32. You should see a new icon in the task bar's icon tray, labelled with a blue X.

Starting NX

In NX, you launch the server and a remote client application in one step with the NX Client for your-operating-system program, described below.