LX0-104 · Question #568
A senior executive asked an administrator to change the default background of the executive machine, which uses XDM. Which of the following filesA senior executive asked an administrator to change the
The correct answer is A. /etc/X11/xdm/Xsetup. To change the default background in XDM, the administrator needs to modify the /etc/X11/xdm/Xsetup script, which is executed before the login prompt appears.
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
(49 responses)- A92% (45)
- B2% (1)
- C4% (2)
- D2% (1)
Why each option
To change the default background in XDM, the administrator needs to modify the `/etc/X11/xdm/Xsetup` script, which is executed before the login prompt appears.
The `/etc/X11/xdm/Xsetup` script is executed by XDM after the X server starts but before the login prompt is displayed. This script is the correct place to configure global settings like the background image or color for the X display manager, as it runs prior to user login.
`/etc/X11/xdm.conf` is not a standard XDM configuration file; XDM configuration typically resides in the `/etc/X11/xdm/` directory with specific file names.
`/etc/X11/xdm/Defaults` usually contains resources for the XDM login screen itself, such as fonts or colors, but not typically the desktop background.
`/etc/X11/defaults.conf` is not a standard XDM configuration file for setting the display background.
Concept tested: X Display Manager (XDM) configuration for display settings
Source: https://www.x.org/releases/X11R7.6/doc/man/man1/xdm.1.xhtml
Topics
Community Discussion
No community discussion yet for this question.