centos6 命令界面切换到图形界面 要进入图形界面,首先要安装。所以应该先执行 yum groupinstall "X Window System" -y yum groupinstall "Desktop" -y 接着,敲命令:startx 或 init 5