6. Common Configurations

6.1. Linux to Linux

6.2. Linux to Other Systems

It is possible to use a Linux X terminal to connect to another system running XDM. The same principles as above apply, but the specifics of configuring XDM (or its equivalent) will be specific to that system.

6.2.2. Linux and Windows

It is not possible to use X to remotely display Windows applications on a Windows box. It is possible to use X to display Windows versions of X applications on a Linux box, using a Windows X Server and Windows X applications (for example the XFree86 Win32 port - see Section 7)

It is possible to view Windows applications remotely on a Linux box using one of the following applications (which don't rely on X or XDM):

  • Windows Terminal Services (WTS). RDesktop is a Linux application that understands the 'RDP' protocol used by WTS. This enables Linux to act as a client to WTS (see Section 7).

  • Vitual Network Computing (VNC). This is an excellent platform independent remote desktop system that provides a bi-directional 'Windows or Linux' to 'Windows or Linux' networked desktop. It can be a bit slow, but works well (see Section 7).

    You can actually do quite strange things with VNC, such has having multiple machines connect and 'control' the desktop (and consequently 'fight' over control of the mouse :). It also doesn't maintain any state in the client, so you can leave your client, shutdown, bootup again, reconnect and carry on from where you left off. There is even a version of the viewer implemented as a Java applet, usable from any Java-enabled web browser.

6.3. Other Systems to Linux

If you have an X server for your system, it should be able to connect to a Linux XDM application server.

6.3.2. Windows and Linux

If you have an X server for windows that supports XDMCP queries, then it should be possible to configure it to query the Linux box. You should just run XDM on the Linux box as usual.

There are many commercial X Server implementations for Windows, and I will not list them all here. There is also a port of XFree86 to Windows, that makes use of the cygwin libraries (used to port many GNU/Linux tools to Windows - see Section 7). This works well.

The following batch file would start the cygwin XFree86 X server on Windows and connect to a Linux box (or any OS/machine running XDM), assuming a default installation of cygwin and XFree86 in c:\cygwin (save it as xdm.bat):
           @echo off
           if "%1"=="" goto noserver
           goto allok
           :noserver
           echo Usage: xdm servername
           goto end

           :allok
           set path=%PATH%;\cygwin\bin;\cygwin\usr\X11R6\bin
           c:
           chdir \cygwin\usr\X11R6\bin
           XWin -query %1

           :end
         

Hosting by: Hurra Communications Ltd.
Generated: 2007-01-26 17:57:57