How do I return to the graphical user interface in CentOS?
To get back to the graphical interface of CentOS, you can follow these steps:
- First, make sure that the graphic interface software package has been installed. If it has not been installed yet, you can use the following command to install it:
- Install the “GNOME Desktop” and “Graphical Administration Tools” group using the sudo command.
- After installation is complete, you can use the following command to start the graphical interface:
- Initiate the GDM service using sudo command.
- Or
- Initiate the lightdm service using systemctl.
- or
- Begin the sddm service using systemctl command.
- It depends on the display manager you’re using.
- To automatically enter the graphical interface after every system boot, you can use the following command to set the default display manager:
- Change the default target to graphical mode using systemctl.
- Finally, restart the system.
- Restart the system using administrator privileges.
- After the system restarts, you should be able to access the graphical interface of CentOS.