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?
To make the system boot into GUI mode by default, use:
bash
systemctl set-default graphical.target
This sets the default target (similar to runlevel 5) to start the GUI.
isolate immediately switches to the GUI target but doesn’t persist.
unmask and enable are only useful if the service is known and named xwindow.service, which is usually not the case (it's typically gdm, lightdm, or graphical.target).
[Reference: CompTIA Linux+ XK0-005 Official Study Guide, Domain 4.0 – System Management, “Use systemctl set-default graphical.target to set the GUI as the default boot target.”, ]
Contribute your Thoughts:
Chosen Answer:
This is a voting comment (?). You can switch to a simple comment. It is better to Upvote an existing comment if you don't have anything to add.
Submit