Download presentation
Presentation is loading. Please wait.
1
X Windows
2
X Windows The X Windows System, also referred to as ‘X’ or “X11”, is the standard graphical engine for Unix and Linux. It is largely OS and hardware independent, it is network-transparent, and it supports many different desktops.
3
Cont.. X was developed in the mid 80’s to provide a standard GUI for Unix systems, similar to Microsoft Windows. Windows only runs locally on the machine, but X Windows uses the X Protocol to separate the processing and display for an application.
4
X Protocol The X Protocol provides a client-server architecture at the application level: The X client is the processing part of the application and often runs on a remote machine. The X server is the display and interaction system.
5
X architecture The client-server nature of the X Protocol allows a single X server to support many clients (applications) on several hosts.
6
Client-server design X server
Runs locally and accepts multiple X clients Displays drawing requests and errors Handles keyboard, video, and mouse Creates and destroys windows X client An application written using X libraries (e.g. Xlib) Sends request and receives events and errors
7
X Protocol messages Requests – client sends requests to the server (e.g. create window) Replies – server response to client requests Events – server forwards events (such as mouse clicks or keyboard entry) to the client Errors – server reports errors to the client
8
What is X Window? X window is the program that draws windows on the screen under most GUI-based versions of LINUX. Any X window system consists of 2 distinct parts - the X server and 1 or more X clients. The server controls the display directly, and is responsible for all input/output via the keyboard, mouse or display. The clients, on the other hand, do not access the screen directly - they communicate with the server, which handles all input and output. It is the clients which do the "real" computing work - running applications or whatever. The clients communicate with the server, causing the server to open one or more windows to handle input and output for that client.
9
What is a Desktop Manager?
Gnome and KDE are examples of desktop managers. Both of these look a lot like Microsoft Windows. They have the equivalent of a Start Menu, have an equivalent of Windows Explorer, and have some sort of control panel. The roll of the Desktop Manager is to provide you with the ability to manage all of the details of your system that would otherwise require you to type in a bunch of commands in a terminal window. These details include managing your files, launching programs, configuring various aspects of your system, etc. It is also worthy to note that the desktop manager is optional. Many older systems did not have a desktop manger that sat in-between the X server and the Window manager.
10
What is a Window Manager?
The Window Manager is a program that manages the placement of Windows on your system. The Window Manager makes it possible to move, resize, and minimize the various programs running on your computer KDE handles this functionality as well, whereas Gnome does not directly provide this functionality, but rather relies on an independent window manager to do it for us.
11
Cont.. Think of the Window Manager as the framing around the windows as well as all of the associated functionality that they provide. For example, most all window managers can close, minimize, maximize & resize. The decoration and customization of these windows under LINUX tends to be much more flexible. Many Window Managers also provide other functionality such as shading, sticky/nonsticky, window history, and desktop and workspace manipulations.
12
Configuring X X software normally located in directory /usr/X11R6
Sometimes called X-root directory Version 11, release 6 Configuration file for Red Hat Linux and Fedora called xorg.conf located in /etc/X11 directory Commercial X servers use different configuration files
13
Configuring X (continued)
xvidtune program Adjust finer details of display Can damage monitor if used carelessly system-config-display program configures: Screen resolution Number of colors
14
Using X Window System Start-up Scripts
X Window System starts automatically every time user logs in at graphical prompt startx command Start X Window System from command line Script located in /usr/X11R6/bin Starts xinit program Place scripts in user’s home directory to define graphical configuration for user
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.