This is usually the default configuration provided by most distributions 'out of the box'.
XDM runs on the application server:
X terminal runs X using a direct query to the application server:
/usr/X11R6/bin/X -query the.application.server |
You can run X on a Linux box, instructing it to query a Solaris machine as previously described:
/usr/X11R6/bin/X -query the.solaris.server |
FontPath "tcp/solaris.box:7200/all" |
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.
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 |