CentOS7 安装 X Window System

1.  安装X

     yum groupinstall "X Window System"

2.  安装Desktop

     yum groupinstall "GNOME Desktop"

如果未执行第2步就直接执行startx去启动,会报错:"xauth: /root/.serverauth.xxxx does not exist"。

如果安装"GNOME Desktop"报错,则执行"yum grouplist"查找可用的Desktop安装即可。

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章