Menu
Linux · 06 Topic · 3 steps

User Interfaces and Desktops

“X11, graphical desktops, remote displays and accessibility.”

Topic 106 is the graphical side of Linux in LPIC-1 (exam 102-500). It starts with the X Window System: how its client and server fit together, where its configuration lives, and how to show a program from one machine on another machine’s screen without opening your display to the world. Then it zooms out to the desktops built on top of X and Wayland, the protocols for reaching a desktop over the network, and the accessibility tools that make a desktop usable for everyone.

The exam weight is small (four points over three objectives), and much of it is “awareness”. Still, these questions are easy points if you know the names, files and ports.

You’ll learn:

  • How X11 is built: X server, clients, display managers and window managers, and how Wayland differs
  • Where Xorg reads its configuration, how to change the keyboard layout, and where to look when X fails
  • How DISPLAY, xhost, xauth and SSH X11 forwarding control who can draw on your screen
  • The major desktop environments (GNOME, KDE Plasma, Xfce) and the remote desktop protocols XDMCP, VNC, Spice and RDP
  • The accessibility features the exam names, from screen readers and braille displays to sticky and bounce keys

You’ll need:

  • A Linux machine or VM with a graphical desktop for most examples. A container such as docker run -it --rm debian is enough for reading config files and trying apt commands, but it has no screen to draw on.
  • A second machine or VM with SSH if you want to try X11 forwarding (ssh -X).
  • sudo or root for installing packages and editing files under /etc/X11/. The gsettings, xhost, xauth and setxkbmap commands run as your normal user.
Start reading →
Byte card for User Interfaces and Desktops: In X11 the server owns screen and keyboard; programs are clients, local or remote. DISPLAY=host:n.s finds the X server; display n listens on TCP port 6000 + n. Override Xorg with small files in /etc/X11/xorg.conf.d/; read errors in Xorg.0.log. Remote desktops: ssh -X, XDMCP (UDP 177), VNC (5900+n), Spice for VMs, RDP (3389). Accessibility: Orca, braille via BRLTTY, zoom, on-screen keyboard, sticky and slow keys.

Byte card

The whole topic on one card

  1. In X11 the server owns screen and keyboard; programs are clients, local or remote.
  2. DISPLAY=host:n.s finds the X server; display n listens on TCP port 6000 + n.
  3. Override Xorg with small files in /etc/X11/xorg.conf.d/; read errors in Xorg.0.log.
  4. Remote desktops: ssh -X, XDMCP (UDP 177), VNC (5900+n), Spice for VMs, RDP (3389).
  5. Accessibility: Orca, braille via BRLTTY, zoom, on-screen keyboard, sticky and slow keys.

Save it as a cheat sheet, or share it with someone who's learning this too.

Search posts and bytes

Optional account

Keep your progress everywhere

Everything on AminBytes is free to read, with or without an account. Sign in only if you want your commits, streak and merged topics saved, on every device.

or

We keep only your name, avatar and which bytes you finished, and you can delete it all anytime. Privacy