nerdexam
CompTIA

XK0-005 · Question #57

A Linux administrator needs to switch from text mode to GUI. Which of the following runlevels will start the GUI by default?

The correct answer is C. Runlevel 5. In traditional SysV init systems, Runlevel 5 is the default runlevel configured to start the graphical user interface (GUI) and provide a multi-user environment with networking.

System Management

Question

A Linux administrator needs to switch from text mode to GUI. Which of the following runlevels will start the GUI by default?

Options

  • ARunlevel 3
  • BRunlevel 4
  • CRunlevel 5
  • DRunlevel 6

How the community answered

(44 responses)
  • A
    2% (1)
  • B
    2% (1)
  • C
    91% (40)
  • D
    5% (2)

Why each option

In traditional SysV init systems, Runlevel 5 is the default runlevel configured to start the graphical user interface (GUI) and provide a multi-user environment with networking.

ARunlevel 3

Runlevel 3 is typically defined as the multi-user text-mode environment with networking, without starting the graphical user interface.

BRunlevel 4

Runlevel 4 is often undefined or can be custom-configured by the administrator, but it is not the default runlevel for starting the GUI.

CRunlevel 5Correct

In traditional SysV init systems, Runlevel 5 is conventionally defined as the multi-user graphical mode, which starts the X Window System and desktop environment, thus initiating the GUI by default.

DRunlevel 6

Runlevel 6 is defined as the reboot runlevel, which brings the system down and restarts it, not for switching to or staying in a GUI environment.

Concept tested: SysV init runlevels for GUI

Source: https://www.tldp.org/LDP/sag/html/runlevels.html

Topics

#Linux runlevels#System initialization#GUI environment

Community Discussion

No community discussion yet for this question.

Full XK0-005 Practice