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.
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
(41 responses)- A90% (37)
- B2% (1)
- C5% (2)
- D2% (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.
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.
`/etc/X11/xdm.conf` is not a standard XDM configuration file; the main configuration is typically `/etc/X11/xdm/xdm-config`.
`/etc/X11/xdm/Defaults` or `xdm-config` holds general configuration parameters for XDM itself, not specifically the commands for setting the wallpaper.
`/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
Community Discussion
No community discussion yet for this question.