LFCS · Question #285
An administrator has just set up the X Display Manager as the default display manager. Which of the following files should be edited to change the default background for it?
The correct answer is A. /etc/X11/xdm/Xsetup. To change the default background for the X Display Manager (XDM), an administrator should modify the /etc/X11/xdm/Xsetup script.
Question
Options
- A/etc/X11/xdm/Xsetup
- B/etc/X11/prefdm
- C/etc/X11/xorg.conf
- D/etc/X11/xdm.conf
How the community answered
(48 responses)- A88% (42)
- B4% (2)
- C2% (1)
- D6% (3)
Why each option
To change the default background for the X Display Manager (XDM), an administrator should modify the `/etc/X11/xdm/Xsetup` script.
The `/etc/X11/xdm/Xsetup` script is executed by XDM before the login screen appears and is the designated place for applying session-specific configurations, including setting the desktop background.
`/etc/X11/prefdm` is usually a script or symbolic link determining which display manager to run, not a configuration file for the background of a specific display manager.
`/etc/X11/xorg.conf` is used for configuring the X server's hardware settings (e.g., monitor, input devices), not the visual elements of the display manager's login screen.
`/etc/X11/xdm.conf` (or `xdm-config`) is the main configuration file for XDM, but it typically delegates visual customizations like backgrounds to scripts such as `Xsetup` rather than defining them directly.
Concept tested: X Display Manager (XDM) configuration
Source: https://www.x.org/releases/X11R7.7/doc/man/man1/xdm.1.html
Topics
Community Discussion
No community discussion yet for this question.