In the X Window System architecture, which statement correctly describes the roles of the X server and an X client?

LPIC-1 Exam 102-500, objective 106. User interfaces and desktops medium

Machine-checked — no person has signed for it. This question was read against the source cited below by an automated pass, which found no contradiction. That is a weaker claim than it sounds: the same kind of process wrote the question, so it can confirm its own mistake.

Treat it as a good draft rather than as settled fact, and read the source below before you rely on it. It is not used in mock exams here — only questions a person has signed for are.

How these questions are written — where each question comes from, what the verification ledger records, and what happens when one is found wrong.

The options

Not correct The X server runs on the machine where the application's code executes, and the X client is the display hardware that receives the drawing output.

Wrong, and it is the inversion that catches most people. The naming is the other way round: the application is the client, the display is the server.

Not correct The X server and the X client are two halves of the same process and cannot be separated across machines.

Wrong. Separating them is the entire point of the X protocol: a client on one host can draw on a server on another host over the network, which is what X forwarding exploits.

Correct The X server runs on the machine with the display, keyboard and mouse, and applications are X clients that connect to it to draw and to receive input events.

Correct. The X server owns and serves the graphics hardware and input devices. Applications such as xterm or a browser are clients that ask that server for windows and receive keyboard and mouse events from it.

Not correct The X server is the window manager, and X clients are the toolkits such as GTK and Qt that it loads.

Wrong. A window manager (for example Openbox, Mutter or KWin) is itself just another X client, one with the special job of drawing frames and handling window placement. GTK and Qt are libraries linked into clients, not clients themselves.

Why

X is named from the point of view of the display hardware, not the application. The X server is the program that controls the screen, keyboard and mouse and offers those resources as a service; every application, including the window manager, is a client of it. This is why the machine sitting in front of you runs the server even when the program you are using lives on a remote host. Wayland deliberately drops this split: a Wayland compositor combines the display server and the window manager into one process, and clients talk to it directly.

Where this comes from

Cited
LPI exam objective 106.1
What it says
Understand the client and server model used by the X Window System.

Practise this

Reading one question is not practice. The trainer will draw a short set from objective 106 and space the ones you get wrong.

Practise LPIC-1 Exam 102-500

More questions on this objective

All questions on User interfaces and desktops

Practise LPIC-1 Exam 102-500