LFCS · 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, such as GDM or KDM, is started as a regular system service by the init system during the boot process to provide a graphical login.
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
(28 responses)- A4% (1)
- B93% (26)
- D4% (1)
Why each option
A display manager, such as GDM or KDM, is started as a regular system service by the init system during the boot process to provide a graphical login.
`startx` is used to manually start an X session from a text console, usually without a display manager, not to start the display manager itself.
Display managers are designed to provide a graphical login prompt and manage user sessions, and as such, they are configured to start automatically as a service during the system boot process, typically managed by `systemd` or an older init system.
`inetd` manages network services that are started on demand for incoming connections; a display manager is a local graphical login service, not an `inetd`-managed network service.
A display manager actually *facilitates* user login sessions by providing the login screen, rather than being started *after* an X11 user has already logged in.
Concept tested: Linux display manager startup
Source: https://ubuntu.com/blog/what-is-a-display-manager
Topics
Community Discussion
No community discussion yet for this question.