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.
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)- A2% (1)
- B2% (1)
- C91% (40)
- D5% (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.
Runlevel 3 is typically defined as the multi-user text-mode environment with networking, without starting the graphical user interface.
Runlevel 4 is often undefined or can be custom-configured by the administrator, but it is not the default runlevel for starting the GUI.
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.
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
Community Discussion
No community discussion yet for this question.