Question 120
A Linux administrator encounters this situation: An operator assumes every graphical Linux deployment must use Xorg even though a Wayland compositor is active. What is the most appropriate corrective action?
Explanation
Correct Answer
Prioritize Check the session type and distinguish Wayland operation from X11 compatibility layers. The underlying distinction is Wayland and X11 use different compositing and client architecture; use A session inspection identifies the active protocol and the GUI launches compatibly as acceptance evidence.
Incorrect Answers
The option would apply to “A graphical login service can authenticate users but the desktop session never starts after an Xorg keyboard edit”. The appropriate operation is Validate only the relevant settings under /etc/X11/xorg.conf.d/ and inspect session logs. This question instead requires “Check the session type and distinguish Wayland operation from X11 compatibility layers”.
This command or configuration addresses a different case: An X11 program launches on the server instead of appearing on an authorized remote workstation. Here, Wayland and X11 use different compositing and client architecture, so the targeted action is Check the session type and distinguish Wayland operation from X11 compatibility layers.
Although that change may be valid elsewhere, it responds to A Linux workstation has a working X server but users cannot get a desktop because the session manager is absent, not to this system state. The relevant fix is Check the session type and distinguish Wayland operation from X11 compatibility layers.