X Window System core protocol: Difference between revisions

Content deleted Content added
No edit summary
m avoid unnec redirect
Line 9:
[[File:X client server example.svg|frame|In this example, the X server takes input from a keyboard and mouse and displays to a screen. A [[web browser]] and a [[terminal emulator]] run on the user's workstation, and a terminal emulator runs on a remote server but under the control of the user's machine. Note that the remote application runs just as it would locally.]]
 
Communication between server and clients is done by exchanging packets over a [[channelcommunication (communications)channel|channel]]. The connection is established by the client (how the client is started is not specified in the protocol). The client also sends the first packet, containing the [[byte order]] to be used and information about the version of the protocol and the kind of authentication the client expects the server to use. The server answers by sending back a packet stating the acceptance or refusal of the connection, or with a request for a further [[authentication]]. If the connection is accepted, the acceptance packet contains data for the client to use in the subsequent interaction with the server.
 
[[Image:Xcore-overview.svg|thumb|200px|An example interaction between a client and a server.]]