Concepts interface

Jump to: navigation, search


X Window – Basic concepts

Often a new Linux user will read references to X Window. X Window (commonly known as X11 or X) provides Linux PCs a graphical environment, in which different graphical desktops can run (giving the user a graphical appearance that is typical of the OS of modern computers, such as seen in the Mac, or in MS-Windows). Without X Window one would only have a simple ascii prompt/shell type environment on their Linux PC (with no graphics). In Linux X Window, to obtain a user friendly Graphical User Environment (GUI), on top of X Window runs a Window Manager or a Desktop Environment. In such a case an openSUSE Linux user is then typically running their PC in what is referred to as run level 5. (Note in a Mac and in MS-Windows, there is typically no such clear distinction between the ASCII shell, and the upper level graphical environment, and hence Mac/MS-Windows have only one GUI, while a Linux user can choose from many).

Four of the more popular desktops available for openSUSE are:

There are also many other desktops available for openSUSE.
Find more information here on the openSUSE implemented Graphical user interface (GUI).
Find more information on Wikipedia or in our Wiki about X Window System.

X Window - Aspects

X Window is very powerful, in that its architecture is deliberately structured, with separate "client" and "server" aspects. For a one PC user, both the "client" and the "server" run on the same PC (and hence the this client/server division is transparent). But X Window is designed such that the "client" and "server" can be run on different machines. Hence, for example, with X11 and the Secure Shell (ssh) program (see below), an X Window application can run on a remote Linux PC, but with the graphics window of the same application being displayed locally on a "local" Linux PC. This is very useful for remote support/access not only on a LAN, but also across the Internet.

Linux shell / command line interface

The shell is a Command-Line Interface (CLI), much like MS-DOS was (and the Command Prompt in Windows XP is), but with the full power of Linux multitasking available. Dependent on how the shell is entered, it may be full screen, or it may be in a window under a Window Manager. Most common is the bash (Bourne-again shell), where bash is a Unix shell written for the GNU Project. Bash is the default shell on most Linux systems, as well as on Mac OS X and it can be run on most Unix-like operating systems. In the case of openSUSE, a bash shell can typically be used by starting the program Konsole (<ALT><F2> and type "konsole") or by starting xterm (<ALT><F2> and "xterm"). A Linux shell is used when interfacing with the lower Linux boot levels (such as runlevels 1 to 3). Applications can be started from a shell, which can also be very useful for a number of reasons, such as debugging problems.

The following picture shows a simplified version of information and command flow when one user interacts with the computer running Linux:

Flow1.jpg


External links (shell/CLI)