nerdexam
Linux_Foundation

LFCS · Question #541

A senior executive asked an administrator to change the default background of the executive's machine, which uses XDM. Which of the following files would the administrator edit to achieve this?

The correct answer is A. /etc/X11/xdm/Xsetup. To change the default background for a machine using XDM, an administrator would typically edit the /etc/X11/xdm/Xsetup script.

Submitted by miguelv· Apr 18, 2026Service Configuration

Question

A senior executive asked an administrator to change the default background of the executive's machine, which uses XDM. Which of the following files would the administrator edit to achieve this?

Options

  • A/etc/X11/xdm/Xsetup
  • B/etc/X11/xdm.conf
  • C/etc/X11/xdm/Defaults
  • D/etc/X11/defaults.conf

How the community answered

(34 responses)
  • A
    94% (32)
  • B
    3% (1)
  • D
    3% (1)

Why each option

To change the default background for a machine using XDM, an administrator would typically edit 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 before any X server is started for a display. It is the appropriate place to define system-wide settings that affect the X server environment for the login display, such as setting the root window background or starting other display-related programs.

B/etc/X11/xdm.conf

`/etc/X11/xdm.conf` (or commonly `xdm-config`) is the main configuration file for XDM, defining paths and other general operational settings, but it does not contain the script for setting the display background.

C/etc/X11/xdm/Defaults

`/etc/X11/xdm/Defaults` usually contains default Xresources settings for XDM, which define font sizes, colors, and other visual aspects of X applications, not a script for setting the root window background.

D/etc/X11/defaults.conf

`/etc/X11/defaults.conf` is not a standard XDM configuration file location for setting display backgrounds; this filename is not part of typical XDM configurations.

Concept tested: X Display Manager (XDM) configuration

Source: https://www.x.org/releases/X11R7.6/doc/man/man1/xdm.1.xhtml

Topics

#XDM#Display Manager Configuration#Graphical Environment#Xsetup

Community Discussion

No community discussion yet for this question.

Full LFCS Practice