There are several ways to start X and its window manager. This section explains a few of the most common ways. Figure 2.2 shows some steps along a few different paths to starting X. If your display is like any of the following, refer to the section noted. (If none of these fits your situation, skim through the next three sections or ask your system administrator for help.)
Some terminals, like the one shown in Figure 2.2 A, are probably ready to use X. Your terminal has probably been set up to use xdm , the X display manager; xdm logs you in to your UNIX host and (usually) starts the window manager.
When you start, there's a single window in the middle of the screen that says something like "X Window System on hostname ." The window has two prompts, "Login:" and "Password:". A cursor (a vertical bar) sits to the right of the "Login:" line. Type your username (login name) and press [RETURN] . Do the same for your password. The login window disappears.
If you get a display like Figure 2.2 C, read Section C below. Or, if you get a blank display, try pressing and releasing your mouse buttons one by one, slowly, to see if a menu pops up.
If your terminal shows something like
with a standard UNIX "login:" prompt (not in a separate window; the
whole screen looks like a terminal), then X is not running. Log in
(as Chapter 1, Getting Started
, explains) and get a shell prompt (like
though your system may use another command (startx , for instance) instead. If all goes well, your screen will sprout at least one window. If the window looks like Figure 2.2 C, without a frame from a window manager, read Section C. Otherwise, your window manager is running; skip ahead to the next main section, "Running Programs."
Once you have a window open with a shell prompt in it (usually
If you need to start the window manager, move your pointer into the window. Then enter this command at the shell prompt to start the Motif window manager:
(To start twm , olwm , or another window manager, the command you'd type would be the name of that window manager.) In a few moments, the window should have a frame. (For more about starting programs, refer to "The xterm Window" section, later in this chapter.)