LPI 102-500 Exam Questions
LPIC-1 Exam 102, Part 2 of 2, version 5.0 (Page 13 )

Updated On: 24-Feb-2026

For accessibility assistance, which of the following programs is an on-screen keyboard?

  1. xkb
  2. atkb
  3. GOK
  4. xOSK

Answer(s): C

Explanation:

GOK stands for GNOME On-screen Keyboard, and it is a program that provides a virtual keyboard for users who have difficulty using a physical keyboard. GOK is designed to be accessible and customizable, and it supports different keyboard layouts, input methods, and modes. GOK can also generate mouse and gesture events, and it can be controlled by various input devices, such as switches, joysticks, or head trackers. GOK is part of the GNOME desktop environment, and it can be enabled from the Universal Access settings panel123.
The other options are not correct because:
A . xkb is not a program, but a component of the X Window System that handles keyboard configuration and mapping. XKB stands for X Keyboard Extension, and it allows users to define the behavior and appearance of their keyboards, such as the layout, the modifiers, the symbols, and the actions. XKB does not provide an on-screen keyboard, but it can be used by other programs that do45.
B . atkb is not a valid name for any known program or component related to on-screen keyboards. There is no such program or component in the LPI Linux certification program or in the common Linux distributions. The closest match is ATK, which stands for Accessibility Toolkit, and it is a library that provides a set of interfaces for accessibility support in GNOME applications. ATK does not provide an on-screen keyboard, but it can be used by GOK and other programs that do6 . D . xOSK is a program that provides an on-screen keyboard, but it is not the one that is mentioned in the LPI Linux certification program or in the common Linux distributions. xOSK stands for X On-Screen Keyboard, and it is a simple and lightweight virtual keyboard that can be used with any X11 application. xOSK is not part of any desktop environment, and it has to be installed and launched manually. xOSK is not as accessible and customizable as GOK, and it does not support different input methods or modes .


Reference:

1: GOK - GNOME Wiki!
2: How to Set Up a Virtual On-Screen Keyboard in Linux
3: Working With On-Screen Keyboards - Oracle Help Center
4: X keyboard extension - Wikipedia
5: XKB Configuration Guide
6: Accessibility Toolkit - GNOME Developer : Accessibility - ArchWiki : xosk - X On-Screen Keyboard : How to use on-screen virtual keyboard on Linux - Xmodulo



What is the name of the simple graphical login manager that comes with a vanilla X11 installation? (Specify ONLY the command without any path or parameters.)

  1. xdm

Answer(s): A

Explanation:

The name of the simple graphical login manager that comes with a vanilla X11 installation is xdm. XDM is the traditional graphical login manager for the X Window System, independent of any window manager or environment the user might choose.
When it is run at system startup, it displays a graphical login prompt rather than the text-based login prompt at the console1. XDM is part of the xorg-x11-apps package, which provides the basic applications for the X Window System2. XDM is also one of the topics covered by the LPI Linux Professional - Exam 102 Objectives - Topic 111: Graphical Desktops3.


Reference:

xorg-x11-apps - Linux Man Pages (1) - SysTutorials
LPI Linux Professional - Exam 102 Objectives - Topic 111: Graphical Desktops GitHub - iwamatsu/slim: SLiM (Simple Login Manager) is a graphical login manager for X11 slim-fork download | SourceForge.net
Using the XDM Graphical Login Manager | FreeBSD 6 Unleashed - Flylib Xorg - ArchWiki
How to remotely log in with full graphical desktop over X11 - Unix & Linux Stack Exchange



Which of the following are tasks handled by a display manager like XDM or KDM? (Choose TWO correct answers.)

  1. Start and prepare the desktop environment for the user.
  2. Configure additional devices like new monitors or projectors when they are attached.
  3. Handle the login of a user.
  4. Lock the screen when the user was inactive for a configurable amount of time.
  5. Create an X11 configuration file for the current graphic devices and monitors.

Answer(s): A,C

Explanation:

The tasks that are handled by a display manager like XDM or KDM are to start and prepare the desktop environment for the user and to handle the login of a user. A display manager is a software component that manages the graphical user interface of an operating system. It provides a login screen where the user can enter their credentials and choose their preferred desktop environment or window manager. After the user is authenticated, the display manager launches the selected desktop environment or window manager and sets up the graphical session. The display manager also handles the logout, shutdown, and reboot of the system. The other options are incorrect because they are not tasks handled by a display manager:
B . Configure additional devices like new monitors or projectors when they are attached. This task is handled by the X server, which is the core component of the X Window System. The X server is responsible for communicating with the hardware devices, such as the keyboard, mouse, monitor, and graphics card. The X server can detect and configure new devices dynamically using tools like xrandr or xorg.conf.
D . Lock the screen when the user was inactive for a configurable amount of time. This task is handled by the screensaver program, which is a utility that runs in the background and activates when the user is idle for a certain period of time. The screensaver can display various animations or images on the screen, or it can blank the screen entirely. The screensaver can also lock the screen and require the user to enter their password to resume the session. The screensaver can be configured by the user using tools like xscreensaver or gnome-screensaver. E . Create an X11 configuration file for the current graphic devices and monitors. This task is handled by the X server, which is the core component of the X Window System. The X server can create an X11 configuration file, which is a text file that contains the settings for the X server and the devices it communicates with. The X11 configuration file is usually located at /etc/X11/xorg.conf or /etc/X11/xorg.conf.d/. The X server can generate a default configuration file using the command Xorg -configure, or it can be edited manually by the user or the system administrator. Reference https://www.baeldung.com/linux/display-managers-explained https://quizlet.com/185979426/lx0-104-flash-cards/



X is running okay but you're concerned that you may not have the right color depth set.
What single command will show you the running color depth while in X?

  1. xcd
  2. xcdepth
  3. xwininfo
  4. xcolordepth
  5. cat /etc/X11

Answer(s): C

Explanation:

The xwininfo command is a utility for displaying information about windows on an X server. One of the information it displays is the depth of the window, which is the number of bits per pixel used to represent the color of the window. The depth of the root window, which is the background window of the X server, is the same as the color depth of the X server. To display the depth of the root window, one can use the command xwininfo -root and look for the line that says "depth of root window". Alternatively, one can use the command xdpyinfo, which displays information about the X server, and look for the line that says "depths of root window".


Reference:

xwininfo(1) - Linux man page xdpyinfo(1) - Linux man page
[LPI Linux Certification/Configure the X Window System, Xorg and ...]



Your senior administrator asked you to change the default background of his machine, which uses XDM.
Which file would you edit to achieve this?

  1. /etc/X11/xdm/Xsetup
  2. /etc/X11/xdm.conf
  3. /etc/X11/xdm/Defaults
  4. /etc/X11/defaults.conf

Answer(s): A

Explanation:

The file /etc/X11/xdm/Xsetup contains commands that are executed by XDM before displaying the login screen. This file can be used to set the background image, color, or run other programs on the X display. The other files are either not related to XDM or do not exist by default.


Reference:

XDM - ArchWiki
Customizing the XDM Login Screen | Linux Journal






Post your Comments and Discuss LPI 102-500 exam dumps with other Community members:

Join the 102-500 Discussion