欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页

centOS7开机自动进入图形化界面

程序员文章站 2022-03-12 09:44:08
...

原博客:https://blog.csdn.net/jun2016425/article/details/78934199

用下面命令查看查看是哪个模式

systemctl get-default

开机启动图形界面

systemctl set-default graphical.target(图形界面模式)
reboot(重启系统)

如果想转回开机启动字符界面模式

systemctl set-default multi-user.target(字符界面模式)
reboot(重启系统)