Setting up X Window clients

Before you can run any of the Interix X Window clients on your computer, you must have an X11 server running either locally or on a remote system. Also, the DISPLAY variable in Interix must be set to the name of the computer on which you want the X client output to be displayed. This would be either localhost:0 if you have a local X11 server running, or the remote-system name, where an X server is running.

By default, Interix also sets up your PATH to include the directory /usr/X11R5/bin, which is the location of the X client binaries. The XAPPLRESDIR environment variable, which is used by X clients to locate their resources, is set up for you as well.

Important

If the DISPLAY variable is not already set up, you can modify your startup files to assign the correct value to DISPLAY the next time that you start an Interix shell. In the Korn shell, you can edit your .profile file to include the following line:

export DISPLAY=localhost:0

If you are using the C shell, edit your .login or .cshrc file to include the following line:

setenv DISPLAY localhost:0