CentOS startx 启动失败的解决方法

时间:2024-11-28 11:13:12

第一个错误:MESA-LOADER: failed to open mgag200: /usr/lib64/dri/mgag200_dri.so: cannot open shared object file: No such file or directory (search paths /usr/lib64/dri)  failed to load driver: mgag200

解决方法:安装缺失mesa驱动,我使用yum就可以安装。

一旦yum安装有问题,则需要登录官网下载,并拷贝至本地驱动目录(详见:https://wenku.****.net/answer/600a323ad9a143dbb4861f9a7843b439

sudo yum install mesa-libGLU-devel

第二个错误 xauth: file /root/.serverauth.3245 does not exist.

sudo yum install gnome-shell

再执行startx命令即可打开X了

成功解决!