nerdexam
LPI

102-500 · Question #195

Which file used by XDM specifies the default wallpaper?

The correct answer is A. /etc/X11/xdm/Xsetup. /etc/X11/xdm/Xsetup is a shell script that XDM executes as root just before displaying the login screen. Since it runs in the X environment prior to user login, it's the standard place to call tools like xsetroot or xloadimage to set the display background/wallpaper. Option B…

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

(40 responses)
  • A
    83% (33)
  • B
    3% (1)
  • C
    10% (4)
  • D
    5% (2)

Explanation

/etc/X11/xdm/Xsetup is a shell script that XDM executes as root just before displaying the login screen. Since it runs in the X environment prior to user login, it's the standard place to call tools like xsetroot or xloadimage to set the display background/wallpaper.

Option B (/etc/X11/xdm.conf) doesn't follow XDM's actual file layout - XDM stores its configuration under /etc/X11/xdm/, not as a single .conf file at that level. Option C (/etc/X11/xdm/Defaults) is a plausible-sounding distractor, but the real XDM config file for global settings is xdm-config, not Defaults. Option D (/etc/X11/defaults.conf) doesn't correspond to any standard XDM or X11 file.

Memory tip: Think of Xsetup as the "setup script" - it sets up the display (including the wallpaper) before anyone logs in. The name maps directly to its purpose: X display setup.

Topics

#XDM configuration#X11 display#Xsetup file#desktop wallpaper

Community Discussion

No community discussion yet for this question.

Full 102-500 Practice