怎么将Linux的登录界面改回图形界面?
1.问题描述:启动虚拟机里面的centos,忽然发现登录界面是“命令行”,无法像原来一样使用“图形化界面”?
2.将Linux的登录界面改回图形界面解决方法:
1,定位 etc/inittab 默认的run level:5 ---不是此问题
2,从报错的信息分析:系统文件检查出错,报错信息日志如下:
***An error occurred during the file system check.
***Dropping you to a shell; the system will reboot
***when you leave the shell.
***Warning --SELinux is active
***Disabling security enforcement for system recovery.
***Run 'setenforce 1' to reenable.
Give root password for maintenance
(or type Control-D to continue_”
3,尝试文件系统修复:fsck ,再依据提示输入:y
很快出现*****FILE SYSTEM WAS MODIFIED******
4,重启系统:reboot
5,重启后,出现“图形化界面”登录,问题解决!

浙公网安备 33010602011771号