CompTIA Linux+ (XK0-005) — Question 132
A Linux administrator booted up the server and was presented with a non-GUI terminal. The administrator ran the command systemctl isolate graphical.target and rebooted the system by running systemctl reboot, which fixed the issue. However, the next day the administrator was presented again with a non-GUI terminal. Which of the following is the issue?
Answer options
- A. The administrator did not reboot the server properly.
- B. The administrator did not set the default target to basic.target.
- C. The administrator did not set the default target to graphical.target.
- D. The administrator did not shut down the server properly.
Correct answer: C
Explanation
The correct answer is C because the system needs to be set to boot into graphical.target by default for the GUI to appear on startup. If this default target is not set, the server will continue to boot into a non-GUI terminal despite the administrator's actions. The other options do not address the persistent issue of the default boot target.