What should I do if I can’t enter the CentOS7 graphical interface?
The solution is as follows:
1. Execute systemctl get-default to obtain Current default target
2. Execute systemctl set-default graphical.target
## (recommended learning:Linux video tutorial)
3. multi-user.target: Set the current target. Optional values are: graphical.target, multi-user.target Enter the graphical interface multi_user.target: Do not enter the graphics when booting Multi-user mode of the interface. 4. Next, reboot. After restarting, I found that I still did not enter the graphical interface. 5. Now log in as root userEnter: systemctl get-default You will find that it has become graphical.target6. Run: startx to get it done. This article comes from the PHP Chinese website,CentOS usage tutorial column, please pay attention to this column for more related tutorials!
The above is the detailed content of What should I do if I can't enter the CentOS7 graphical interface?. For more information, please follow other related articles on the PHP Chinese website!