CompTIA
XK0-006 · Question #84
After system startup, the X Window System GUI login interface is not displaying. Which of the following commands ensures that the GUI is started during the system startup process?
The correct answer is D. systemctl set-default graphical.target. Setting the default target to graphical.target tells systemd to boot into the graphical interface on startup. The command systemctl set-default graphical.target makes the GUI login display automatically at boot.
System Configuration and Management
Question
After system startup, the X Window System GUI login interface is not displaying. Which of the following commands ensures that the GUI is started during the system startup process?
Options
- Asystemctl isolate graphical.target
- Bsystemctl unmask xwindow.service
- Csystemctl enable xwindow.service
- Dsystemctl set-default graphical.target
How the community answered
(43 responses)- B2% (1)
- C5% (2)
- D93% (40)
Explanation
Setting the default target to graphical.target tells systemd to boot into the graphical interface on startup. The command systemctl set-default graphical.target makes the GUI login display automatically at boot.
Topics
#systemctl#graphical target#default boot target#systemd
Community Discussion
No community discussion yet for this question.