LX0-104 · Question #107
How is a display manager started?
The correct answer is B. It is started like any other system service by the init system. A display manager, like GDM or KDM, is started automatically as a system service by the operating system's init system during the boot process.
Question
Options
- AIt is started by a user using the command startx.
- BIt is started like any other system service by the init system.
- CIt is started by inetd when a remote hosts connects to the X11 port.
- DIt is started automatically when a X11 user logs in to the system console.
How the community answered
(23 responses)- B91% (21)
- C4% (1)
- D4% (1)
Why each option
A display manager, like GDM or KDM, is started automatically as a system service by the operating system's init system during the boot process.
`startx` is a command used by a user to manually initiate an X session from a text console after login, bypassing a display manager.
Display managers (such as GDM, KDM, LightDM) are critical components that provide the graphical login interface. They are configured to start automatically at system boot-up as services, managed by the system's init system (e.g., systemd on modern Linux distributions) to ensure a graphical login prompt is available.
`inetd` (or `xinetd`) is a super-server that manages network services which are started on demand upon a connection, which is not how always-running display managers are initiated.
A display manager's purpose is to *enable* graphical login; it starts *before* a user logs in to present the login interface, not automatically *after* a login to the system console.
Concept tested: Display manager startup process
Topics
Community Discussion
No community discussion yet for this question.