X Window System core protocol: Difference between revisions

Content deleted Content added
m clean up+genfixes, replaced: [[Motif (widget toolkit) → [[Motif (software) (2) using AWB
Line 7:
 
== Overview==
[[File:X client sever example.svg|thumbframe|TheIn this example, the X server takes input from a keyboard and mouse and displays to a screen. A [[displayweb serverbrowser]] managesand thea INPUT[[terminal ''and''emulator]] run on the OUTPUTuser's forworkstation, alland ofa itsterminal clients.emulator Theruns communicationon betweena displayremote server andbut clientsunder isthe specifiedcontrol inof the user'''X11s displaymachine. serverNote protocol'''that the remote application runs just as it would locally.]]
 
Communication between server and clients is done by exchanging packets over a [[channel (communications)|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.