1.从新启动
reboot
在进度条界面时按住F5,可以看到启动过程,定位到starting certmonger卡住了。
原因分析:X11图形化界面服务引起的,导致开机无法进入图形化界面。
用xshell,或者secureCRT连接虚拟机
修改配置文件/etc/X11/,如果xorg.conf 存在,修改名字
mv /etc/X11/xorg.conf /etc/X11/old_xorg.conf
如果xorg.conf不存在
修改启动级别
vi /etc/inittab
# Default runlevel. The runlevels used are:
# 0 - halt (Do NOT set initdefault to this)
# 1 - Single user mode
# 2 - Multiuser, without NFS (The same as 3, if you do not have networking)
# 3 - Full multiuser mode
# 4 - unused
# 5 - X11
# 6 - reboot (Do NOT set initdefault to this)