LPI Exam Questions

Which file would you edit to achieve this?

Your senior administrator asked you to change the default background of his machine, which uses XDM.

Which file would you edit to achieve this?

A.
/etc/X11/xdm/Xsetup

B.
/etc/X11/xdm.conf

C.
/etc/X11/xdm/Defaults

D.
/etc/X11/defaults.conf

Explanation:
After resetting the X server, xdm runs the Xsetup script to assist in setting up the screen the user sees along with the xlogin widget.
For example, an entry in Xsetup to change the background could be:
/usr/X11R6/bin/xsetroot -solid steelblue