User interfaces and desktops
User interfaces and desktops is a small, awareness-level objective covering the X Window System architecture, display managers, and accessibility features. Objective 106 of LPIC-1 Exam 102-500, worth 6.67% of the exam.
- Share of the exam
- 6.67%
- Questions in a real sitting
- roughly 4 of 60
- Questions in this bank
- 22
- Signed for by a person
- 0
- Machine-checked only
- 22
Partly checked. None of the 22 questions here has been read against the cited source by a person. 22 questions have been checked against their cited clause by an automated pass — which is not the same thing, and is not a signature.
Only questions a person has signed for are used in mock exams here. That is the whole difference between the two kinds of checking above.
How these questions are written — where each question comes from, what the verification ledger records, and what happens when one is found wrong.
What this objective covers
The 22 questions written for this objective cite 3 LPI exam objectives (106.1, 106.2, 106.3) and 8 manual pages (Xsession(5), Xwayland(1), setxkbmap(1), vncserver(1), xdm(1), xfreerdp(1), xhost(1), xorg.conf(5)).
They break down as 15 single-answer questions, 4 type-the-answer questions and 3 choose-several questions.
What this objective is really about
The smallest objective on the paper, and mostly a vocabulary check. There is no expectation that you can configure X by hand; there is an expectation that you know which component is which and can recognise the names.
The X client and server naming, which is backwards
X is named from the point of view of the display hardware. The X server is the program that controls the screen, keyboard and mouse and offers them as a service. Applications are clients of that server — including the window manager, which is just a client with a special job. This means the machine sitting in front of you runs the server even when the program you are using lives on a remote host.
That is exactly what makes ssh -X work: the workstation runs the X server, the remote host runs the X client, and ssh tunnels the protocol between them. The remote host needs X client libraries but no X server at all. Authorisation is handled by a per-display cookie in ~/.Xauthority rather than by xhost, which is host-based, coarse and unsafe by comparison. DISPLAY is only an address in the form host:display.screen; it carries no secret.
Names to keep apart
A display manager presents the graphical login screen and starts the session: XDM, KDM, GDM and LightDM are the ones named in the objectives. A desktop environment is what you get after logging in — GNOME, KDE Plasma, Xfce, LXDE. A window manager draws frames and handles placement — Mutter, KWin, Openbox. Questions here are usually a list where you separate the three categories.
For accessibility, learn the keyboard set as a group: Sticky Keys latches modifiers, Slow Keys requires a key to be held before it registers, Bounce Keys ignores rapid repeats, Toggle Keys beeps on Caps Lock and Num Lock, and Mouse Keys drives the pointer from the keypad. For visual accessibility, Orca is the screen reader that also drives braille displays via BrlTTY, while high contrast themes and magnifiers serve low vision, and on-screen keyboards such as GOK and Onboard address input rather than output.
Lessons in this objective
The objective cut into the pieces the blueprint declares. Each one has the material written out and the questions that test it.
- Installing and configuring a graphical display server
- Display managers and desktop sessions
- Display managers and accessibility settings
Drill this objective
The trainer can run a short practice set drawn from this objective alone, which is what the weight column above is for: revise the heavy objectives first.
Practise User interfaces and desktops
Questions on this objective (page 1 of 2)
- In the X Window System architecture, which statement correctly describes the roles of the X server and an X client? machine-checked
- From your desktop workstation you run `ssh -X admin@fileserver` and then start `xterm` in that session. The xterm window appears on your workstation's screen. Which machine is running the X server in this arrangement, and which is running the X client? machine-checked
- In a bash shell, type the complete command that sets and exports the environment variable X clients read to find their display, so that they connect to screen 0 of display 0 on the local machine. machine-checked
- Type the command, with no arguments and no options, that prints whether host-based access control is currently enabled on your X server together with the list of hosts and users allowed to connect. machine-checked
- An X11-forwarded ssh session authorises the remote client to talk to your local X server without you ever running an xhost command. Which mechanism provides that authorisation? machine-checked
- A display manager is the program that presents the graphical login screen and starts the user's session after authentication. Which three of the following are display managers? (Choose three.) machine-checked
- A user types with one hand and cannot hold Ctrl or Shift down while pressing another key. Which accessibility feature lets a modifier key stay active after it is released, so the next key press is combined with it? machine-checked
- A blind user needs the desktop read aloud, and also wants the same output sent to a refreshable braille display. Which assistive technology on a Linux desktop is designed for exactly this? machine-checked
- A workstation has been fitted with a new graphics card and you must pin the X server to a specific driver by hand in /etc/X11/xorg.conf. In which section of that file does the Driver line for the card belong? machine-checked
- A user's graphical session collapses back to the login screen a second after they authenticate. The X server itself started normally. Which file should you read first, because it collects the standard output and standard error of the programs that the user's session tried to run? machine-checked
- A colleague makes a stubborn remote display problem go away by running `xhost +` on their workstation, with nothing after the plus sign. Your security review flags it. What has that command actually done? machine-checked
- Your distribution has switched the default graphical session from Xorg to Wayland. Select the TWO statements that correctly describe Wayland and its relationship to X11. machine-checked
- A German keyboard has been plugged into a running X session that is currently using the US layout. Type the complete command, with its argument, that switches the keyboard layout of the running X session to the German layout for the rest of the session. machine-checked
- From a Linux workstation you must open the graphical desktop of a Windows Server that has had no extra software installed on it. Which protocol is designed for that, and which client would you install to speak it? machine-checked
- A teaching lab is built from diskless X terminals. Each terminal runs only an X server and asks a central Linux host for a graphical login screen, and the applications then run on that central host. Which protocol carries that request, and what is the main objection to using it beyond the lab's own switch? machine-checked
- On a headless build host you start a virtual desktop with `vncserver :2`. A colleague on the same LAN asks which TCP port must be reachable so that their viewer can connect. Which port do you name? machine-checked
- A KVM guest is used as a developer's daily desktop. The developer must plug a USB debugger into their own laptop and have the guest see it, and must get working audio. Which remote display protocol is designed for that class of virtual machine console, and what distinguishes it from plain VNC here? machine-checked
- Select the THREE entries in the following list that are complete desktop environments rather than a single component of one. machine-checked
- A user with very limited vision keeps typing whole sentences in capitals because they cannot see the Caps Lock indicator on the keyboard. Which accessibility feature plays a sound whenever a locking key such as Caps Lock or Num Lock changes state? machine-checked
- A user can operate a keyboard accurately but cannot use a mouse or trackpad at all. Which desktop accessibility feature addresses this directly, and which feature solves the opposite problem? machine-checked
Practise User interfaces and desktops
The other objectives in LPIC-1 Exam 102-500
- 105. Shells and shell scripting — 15% of the exam
- 107. Administrative tasks — 20% of the exam
- 108. Essential system services — 18.33% of the exam
- 109. Networking fundamentals — 23.33% of the exam
- 110. Security — 16.67% of the exam