How is a display manager started?

How is a display manager started?

A. It is started by a user using the command startx.

B. It is started like any other system service by the init system.

C. It is started by inetd when a remote hosts connects to the X11 port.

D. It is started automatically when a X11 user logs in to the system console.

Answer: B

Explanation:

A display manager is a program that provides a graphical login screen for users to access a graphical desktop environment. A display manager is usually started by the init system, which is the first process that runs when the system boots up. The init system is responsible for starting and stopping various system services, including the display manager. The init system can be configured to start a specific display manager by setting the default runlevel or target, or by editing the /etc/X11/default-display-manager file123.

The other options are not correct because:

A. It is started by a user using the command startx. This option is false because the startx command is used to start an X session without a display manager. The startx command launches an X server and runs the user’s .xinitrc or .xsession file, which contains the commands to start the desired desktop environment or window manager. The startx command does not invoke a display manager or a graphical login screen .

C. It is started by inetd when a remote hosts connects to the X11 port. This option is false because inetd is a daemon that listens for incoming network connections and launches the appropriate service for each connection. Inetd does not start a display manager, but it can be used to enable remote access to an X session using the XDMCP protocol. XDMCP stands for X Display Manager Control Protocol, and it allows a remote host to request a graphical login screen from a display manager running on another host. However, this is not the same as starting a display manager, and it requires the display manager to be already running on the host that provides the XDMCP service. D. It is started automatically when a X11 user logs in to the system console. This option is false

because a display manager is not started by a user login, but by the init system. A user login can trigger the start of an X session, but not a display manager. A display manager is independent of the user login, and it can run on multiple virtual consoles or display devices. A display manager can also allow multiple users to log in to different X sessions simultaneously123.

Reference: 1: LPI Linux Certification/Setup A Display Manager – Wikibooks 2: Working with Display

Managers – LPIC-1 102 Linux certification – Linux … 3: How to Change the Default Display Manager in

Ubuntu 20.04 : startx – ArchWiki : How to start GUI from command line? – Ask Ubuntu : inetd –

Wikipedia : XDMCP – ArchWiki

Latest 102-500 Dumps Valid Version with 194 Q&As

Latest And Valid Q&A | Instant Download | Once Fail, Full Refund

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments