nerdexam
Linux_Foundation

LFCS · Question #285

An administrator has just set up the X Display Manager as the default display manager. Which of the following files should be edited to change the default background for it?

The correct answer is A. /etc/X11/xdm/Xsetup. To change the default background for the X Display Manager (XDM), an administrator should modify the /etc/X11/xdm/Xsetup script.

Submitted by satoshi_tk· Apr 18, 2026Service Configuration

Question

An administrator has just set up the X Display Manager as the default display manager. Which of the following files should be edited to change the default background for it?

Options

  • A/etc/X11/xdm/Xsetup
  • B/etc/X11/prefdm
  • C/etc/X11/xorg.conf
  • D/etc/X11/xdm.conf

How the community answered

(48 responses)
  • A
    88% (42)
  • B
    4% (2)
  • C
    2% (1)
  • D
    6% (3)

Why each option

To change the default background for the X Display Manager (XDM), an administrator should modify the `/etc/X11/xdm/Xsetup` script.

A/etc/X11/xdm/XsetupCorrect

The `/etc/X11/xdm/Xsetup` script is executed by XDM before the login screen appears and is the designated place for applying session-specific configurations, including setting the desktop background.

B/etc/X11/prefdm

`/etc/X11/prefdm` is usually a script or symbolic link determining which display manager to run, not a configuration file for the background of a specific display manager.

C/etc/X11/xorg.conf

`/etc/X11/xorg.conf` is used for configuring the X server's hardware settings (e.g., monitor, input devices), not the visual elements of the display manager's login screen.

D/etc/X11/xdm.conf

`/etc/X11/xdm.conf` (or `xdm-config`) is the main configuration file for XDM, but it typically delegates visual customizations like backgrounds to scripts such as `Xsetup` rather than defining them directly.

Concept tested: X Display Manager (XDM) configuration

Source: https://www.x.org/releases/X11R7.7/doc/man/man1/xdm.1.html

Topics

#xdm configuration#X11 background#Display manager#System files

Community Discussion

No community discussion yet for this question.

Full LFCS Practice