nerdexam
CompTIA

LX0-104 · 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. For XDM, the /etc/X11/xdm/Xsetup script is executed after the X server starts but before the login prompt, making it the appropriate place to set the default background.

User Interfaces and Desktops

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

(47 responses)
  • A
    87% (41)
  • B
    4% (2)
  • C
    6% (3)
  • D
    2% (1)

Why each option

For XDM, the `/etc/X11/xdm/Xsetup` script is executed after the X server starts but before the login prompt, making it the appropriate place to set the default background.

A/etc/X11/xdm/XsetupCorrect

The `/etc/X11/xdm/Xsetup` script is run by XDM after the X server starts but before the login window is displayed. This script is commonly used to set the root window background, load fonts, or perform other initial display setups for the X session managed by XDM.

B/etc/X11/xdm.conf

`/etc/X11/xdm.conf` is not a standard configuration file for XDM; the main configuration is typically in `xdm-config`.

C/etc/X11/xdm/Defaults

`/etc/X11/xdm/Defaults` (or `xdm-config`) contains global XDM configuration settings like display manager options, but not specifically the script for setting the graphical background *before* login.

D/etc/X11/defaults.conf

`/etc/X11/defaults.conf` is not a standard XDM configuration file.

Concept tested: XDM configuration for display setup

Source: https://man7.org/linux/man-pages/man1/xdm.1.html

Topics

#XDM#display manager#GUI configuration#desktop environment

Community Discussion

No community discussion yet for this question.

Full LX0-104 Practice