Something about the X Window System evokes images of Cray supercomputers or research laboratory workstations from 1990. Of course, X is as ever-present with Linux now, though very few developers seem to want anything to do with it. X provides tools for showing a display, mainly a terminal and a blank screen, when its server is started.
![]() |
| I logged in. Prompt! |
By default, Debian does not install X. Or a window manager. You must do it by waving your magic wand and typing
sudo apt install xorg mwm
This will install the X11 server and the Motif Window Manager. "Motif?" you say, "Now that is a very UNIX workstation setup!" Yes, Motif, the window manager employed in the Common Desktop Environment is also ever-present on the Debian servers. Some of that is because its source code doesn't require too much maintenance. Let us take a look.
Once installed, one starts X with a simple startx command. The screen will be black and you will see a ×-shaped cursor. This seeming end-of-time nothingness is actually where the journey begins. What you are seeing is called the root window. The fact that there is a mouse pointer means a GUI exists in this space somewhere. To do something, one right-clicks and opens the root menu.
![]() |
| The first xterm against an actual "desktop" background. |
From the Root Menu, select New Window. This generic-sounding menu item means "open a terminal and make it the active window."
Another level of comfort we can add is a desktop surface. In the terminal, type
xsetroot -gray
which will color the root window with a simulated gray bitmapped pattern. (At least now we aren't falling off into space.)
![]() |
| Various clients opened from terminal. One has been minimized (iconified). |
Opening clients (programs) from the terminal link them to that terminal. If the terminal is closed, all programs started from it will close, too. You can test this by typing
xclock &
xedit &
xcalc &
xlogo &
The ampersands (&) make each program run as a background process. You can continue to use the terminal this way. To blow everything up, double click the square in the upper left corner of the terminal. This will close the terminal. Any work that was done in the open clients will be lost! Not so safe, is it?













