在centos的最小化安装之后,运行不了图形界面的。如果要运行图形界面的程序就必须得安装图形界面: yum groupinstall 'X Window System' -y yum groupinstall "Desktop" -y