LX0-104 · Question #541
A senior executive asked an administrator to change the default background of the executive's machine, which uses XDM. Which of the following files would the administrator edit to achieve this?
The correct answer is A. /etc/X11/xdm/Xsetup. For XDM, the /etc/X11/xdm/Xsetup script is executed after the X server starts but before the login prompt, making it the appropriate place to set the default background.
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
(47 responses)- A87% (41)
- B4% (2)
- C6% (3)
- D2% (1)
Why each option
For XDM, the `/etc/X11/xdm/Xsetup` script is executed after the X server starts but before the login prompt, making it the appropriate place to set the default background.
The `/etc/X11/xdm/Xsetup` script is run by XDM after the X server starts but before the login window is displayed. This script is commonly used to set the root window background, load fonts, or perform other initial display setups for the X session managed by XDM.
`/etc/X11/xdm.conf` is not a standard configuration file for XDM; the main configuration is typically in `xdm-config`.
`/etc/X11/xdm/Defaults` (or `xdm-config`) contains global XDM configuration settings like display manager options, but not specifically the script for setting the graphical background *before* login.
`/etc/X11/defaults.conf` is not a standard XDM configuration file.
Concept tested: XDM configuration for display setup
Source: https://man7.org/linux/man-pages/man1/xdm.1.html
Topics
Community Discussion
No community discussion yet for this question.