An X server manages a display, and a GUI application displays windows on it.
Which relationship is correct?
The X server manages display and input devices, while X clients request drawing and other operations from it.
Detailed explanation
Incorrect. The X server, not the client, owns the display and input resources.
Correct. The server manages resources and clients request operations.
Incorrect. X server responsibility is not limited to storing configuration files.
Incorrect. Client and server can be separate processes and even separate hosts.
Try it yourself
An example you can run in a temporary verification environment.
printf '%s
' "${DISPLAY-<unset>}"Expected result
現在shellのDISPLAY値または<unset>Key points
- X server
- X client
- Display resources
Notes
- Environment: 環境変数の読み取りのみ
- Use read-only help or environment inspection when checking X11 commands.
- Exact display-manager and desktop packages vary by distribution.
Foundation review
Place the operation
The X server can be remote from a client; the names describe resource ownership, not where the application runs.
Check the side effect
Inspect DISPLAY and authorization settings without exposing a graphical session to untrusted hosts.