Using the X Window System > Chapter 4 Using the X Window SystemWhat to Expect When X Starts |
|
Whether you start the X Window System from the command line or automatically from a login file, x11start always executes the same sequence of steps.
You won't notice any effect from issuing the command until the X display server starts. When x11start starts the server (the program that controls the operation of your keyboard, mouse, and display), your screen will turn gray. This means that the screen has now become the root window, the backdrop or "desktop" on which the windows and icons of your environment appear. Although you can completely cover the root window with clients, you can never cover a client with the root window. The root window is always the backdrop of your window environment; nothing gets behind it. In the center of the root window is an hourglass. This is the pointer and marks the current screen location of the mouse. A short time later the pointer changes to an ×, and a terminal window appears at the top of your display (if you're using the default .x11start file). This window is under the control of a window manager. If you use the OSF/Motif Window Manager (mwm), your window has a three-dimensional frame. This frame contains window manager controls. The window contains a command-line prompt and behaves exactly like the screen of a terminal. You can think of this window as "a terminal in a window." There are several terminal emulation clients: inclusing hpterm, dtterm, and xterm. The examples in this book use hpterm. Refer to the man page for your terminal emulator for specific details about it. Move the mouse. The pointer moves on the screen. When the pointer is in the root window, it has an × shape. However, when you move the pointer to a terminal window, the pointer changes to an arrowhead (when on the window frame) or an I (when in the interior of the window). With the OSF/Motif Window Manager (operating in "explicit focus" mode), when you press and release button 1 while the pointer is in a terminal window, the window becomes the active window. When a window is active, its frame changes color. You'll discover that you can't type in a terminal window unless the window is active. The active window is the terminal window where what you type on the keyboard appears. Your input always goes to the active window. If there is no active window, what you type is lost. The program running in the active window decides what to do with your typed input. Frequently the program will use a text cursor to show where your typed input will be displayed. Table 4-1 Possible X Window System Start Problems
If you encounter problems starting X11 for the first time, check the following areas:
If none of the above seems to help, or you're not sure how to proceed, see your system administrator. |