1. First enter the root user;
2. Then check the startup mode of the current system. The command is as follows:
systemctl get-default
3. Finally, change the startup mode. The change command is as follows:
systemctl set-default graphical.target //由命令行模式更改为图形界面模式 systemctl set-default multi-user.target //由图形界面模式更改为命令行模式
Recommended tutorial: linux tutorial
The above is the detailed content of Linux settings boot into the graphical interface. For more information, please follow other related articles on the PHP Chinese website!