XWin32 X-Server

============================
Getting started with X-Win32
============================


X Applications and X Displays

While it is a client/server system, the X Window System has important differences between other client/server software such as mail or HTTP. A first-time user can be confused because X applications (such as xterm and mailtool) are clients, while an X display (such as X-Win32) is a server. This means that when you start X-Win32 you have just started an X server and are now waiting for clients to connect to you. But how do you start a client on a remote machine?

Connection Startup

X-Win32 supplies 3 ways to start an X client (application) on a remote machine: rsh, rexec, and XDMCP. Rsh and Rexec both connect to a remote machine (running the Unix operating system) and run a command on that machine, usually an X application. XDMCP (X Display Manager Control Protocol) connects to the xdm or CDE process on the remote machine to start a login session. In X-Win32, a Session is used to store rsh, rexec, and XDMCP information. Sessions are created with X-Util32 and invoked from the X-Win32 Sessions menu.

X Window Management

Window management is the system whereby the user moves, resizes, stacks, and iconifies (minimizes) windows. It also displays titles on windows, and can let the user switch between several virtual screens. On Unix systems running X, windows are managed by a special X application known as a window manager. Common ones are mwm (Motif), olwm (OpenLook), and dtwm (CDE). X-Win32 gives the user the option of using the Windows 95 window manager (Multiple Window mode) or an X window manager running on the Unix system (Single Window mode ). It is recommended that you use Multiple Window mode when using rsh or rexec, and Single Window mode when using XDMCP.

Which should I use?

If your Unix system runs an XDMCP server, such as xdm or dtlogin (CDE), you don't switch between X and Windows applications often, and you prefer to interact with X applications as if you were using the Unix system's console, then you should use Single Window mode and XDMCP. Otherwise, use rsh or rexec in Multiple Window mode.

To create an XDMCP session:

1. Start the X-Config utility.
2. Choose the SESSIONS tab and press the 'Add...' button.
3. A dialog appears in which you select the XDMCP connect mode.
4. Enter a Session name. This is a unique name that you will use to refer to this session in later use. 5. Choose one of the XDMCP modes.
6. Enter a Host name (or IP address), if you did not select 'Broadcast'.
7. Click on 'Save'.

To create an rsh or rexec session:

1. Start the X-Config utility.
2. Choose the SESSIONS tab and press the 'Add...' button.
3. A dialog appears in which you select the RSH or REXEC connect mode.
4. Enter an unique Session name.
5. Enter a Host name (or IP address) for the UNIX system you want to connect to.
6. Enter your Login name for the UNIX System.
7. Also enter your passwort, if you are creating a rexec connection.
8. Click on 'Save'.
For most systems, try rexec first. If that doesn't work you can use rsh, but you will need to create a ".rhosts" file in your home directory on the Unix system with the name or IP address of your Windows system.

To open an X application

1. From the Start menu, open X-Win32 from the Programs menu.
2. Click on the X-Win32 icon or title bar, and choose the name of the session you wish to open from the menu.
3. After a moment, your X application should appear on your desktop. If it doesn't, check the Messages window for connection errors.

For any problems or questions

Refer to our Help system for Troubleshooting and Advanced features.