IT lexicon › Infra & Ops › RECORD extension (X11)

RECORD extension (X11)

Infra & Ops På svenska → Updated: 2026-10-08
More info
Type
X11 extension
Spec
Record Extension Protocol Specification

The X extension that lets one client eavesdrop on the protocol traffic between the server and every other client, intended for macro recording and just as useful for keylogging.

The extension arrived with X11R6.1 in the mid-1990s as the counterpart to XTEST: XTEST injects synthetic events, RECORD captures the real ones. A client registers which requests, replies, events and errors it wants to see, for which other clients, and then receives a copy of the stream on a connection of its own. That is how xnee and xmacro record a session and play it back, and how test tools verify that a program did what you clicked.

The downside is built into the design. Anyone with a working connection to the server can ask for every keystroke in every window, password prompt included, and X11 has no privilege level that says no. The extension sat broken in a couple of Xorg releases around 2009 and nobody missed it much until input tools stopped working. Wayland deliberately has no equivalent, which is one reason screen recording and macro tools had to be rebuilt from the ground up there.

← Back to the lexicon