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…
Question
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)- A83% (33)
- B3% (1)
- C10% (4)
- D5% (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
Community Discussion
No community discussion yet for this question.