x Windows/x Protocol: X Window System protocol for UNIX and Linux Graphics display (x window or x Protocol or x System)
The X Windows System protocol, the X window or the X protocol, is a graphical structure for graphics systems under UNIX and Linux. The X Windows system is rarely used in VMS, MVS, and ms-windows systems. It provides a solid, client-server base for displaying window graphics. The X Windows system provides a public protocol through which client programs can query and update information on the X server. The X Windows System (x protocol) allows processes on different computers on the network to display content on other network monitors.
The client and server roles defined by the X Windows System (x protocol) are as follows:
The X server is a program that runs on the user's desktop for managing video systems, including interactive I/O devices such as mice, keyboards, and special devices. The main functions are: Display graphics on the screen request reply Request Information report request error management keyboard, mouse, and display devices reuse keyboard and mouse input to create, map, and delete windows on a network that connects their X clients (x events) write and draw in Windows
The x client is an application that runs on another host that is running on a connection X server to display graphics. The client is typically running on a powerful Unix/linux platform, the usual "server". The main functions are: Send a request to the server to receive the event from the server to receive errors from the server
The X system divides the various components into individual subsystems. The main components of the X Windows System (x Protocol) framework are: Windows administrator-Controls the occurrence of an event when the mouse pointer is over the range of screens controlled by a particular application. Program/File administrator-typically a program that displays application icons and allows users to run these programs. Internal program interface-X Windows client communication Standard mode, called ICCCM. CORBA is also used to provide more sophisticated and complex methods for X-window communication. The implementation of communications is based on TCP/IP networks.
The X Windows System (x protocol) includes two basic versions: X10 and X11.
protocol Structure
The X protocol has the primary communication information between the following clients and servers:
Request x client to send service request to x server, such as Create Window. To enhance performance, X clients usually do not expect or wait for a response. The request is kept to a reliable network layer for delivery. The X request is any multiple of 4 bytes.
Reply x server responds to an X client request. Note: Not all requests require a response. The X reply is any multiple of 4 bytes, but the minimum is 32 bytes.
The event x server forwards the event to the X client. may include keyboard or mouse input. To reduce network traffic, only the expected events are sent to the X client. The X event is 32 bytes.
Error X server should report error on client request. Errors are similar to events, but they are handled differently. X errors are the same size as events, and are used to simplify their processing. They are sent to an X-client (32-byte) error handler.
Related protocols: IP, TCP, CORBA
Organization Source: X window/x Protocol is launched by X.Org (http://www.x.org).
RELATED links: http://www.x.org/X11_protocol.html:The x protocol.