nerdexam
CompTIA

XK0-005 · Question #818

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 makes systemctl set-default graphical.target the GUI login display automatically at boot.

System 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

(39 responses)
  • A
    5% (2)
  • B
    3% (1)
  • D
    92% (36)

Explanation

Setting the default target to graphical.target tells systemd to boot into the graphical interface on startup. The command makes systemctl set-default graphical.target the GUI login display automatically at boot.

Topics

#systemd#Boot Process#GUI#systemctl targets

Community Discussion

No community discussion yet for this question.

Full XK0-005 Practice