nerdexam
CompTIA

LX0-104 · Question #20

Which file used by XDM specifies the default wallpaper?

The correct answer is A. /etc/X11/xdm/Xsetup. The /etc/X11/xdm/Xsetup script is executed by the X Display Manager (XDM) to perform setup tasks before the login screen appears, including setting the default wallpaper.

User Interfaces and Desktops

Question

Which file used by XDM specifies the default wallpaper?

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

(41 responses)
  • A
    90% (37)
  • B
    2% (1)
  • C
    5% (2)
  • D
    2% (1)

Why each option

The `/etc/X11/xdm/Xsetup` script is executed by the X Display Manager (XDM) to perform setup tasks before the login screen appears, including setting the default wallpaper.

A/etc/X11/xdm/XsetupCorrect

The `/etc/X11/xdm/Xsetup` script is run by XDM just before the login dialog is displayed. This script typically contains commands to configure the X server's appearance, such as setting the root window background (wallpaper) using utilities like `xsetroot` or `xpmroot`, and configuring fonts or other visual elements. It is the designated place for pre-login graphical environment customizations.

B/etc/X11/xdm.conf

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

C/etc/X11/xdm/Defaults

`/etc/X11/xdm/Defaults` or `xdm-config` holds general configuration parameters for XDM itself, not specifically the commands for setting the wallpaper.

D/etc/X11/defaults.conf

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

Concept tested: XDM wallpaper configuration

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

Topics

#XDM configuration#wallpaper#desktop environment#X11

Community Discussion

No community discussion yet for this question.

Full LX0-104 Practice