之前CentOS7使用正常,一直用的图形界面,然后某天突然发现黑屏了。
启动后到图形界面,就是能看见登录背景(只有登录背景,没有登录对话框)和一个鼠标后,就黑屏了。
可以进入tty2
之前用
$X :1
报:
看到
pci id for fd 12: 102b:0532, drivier (null) #这句话是说没有驱动吧?
gbm: failed 等等 #后面的就没管了
102b:0532对应的驱动是Matrox G200ew
Matrox官网已经没有G200系列的驱动可供下载了。
网上Matrox G200ew都不是for linux的。
完全没有头绪。
update:
$startx
xauth: file /root/.serverauth.58842 does not exit
xauth: file /root/.Xauthority does not exit
xauth: file /root/.Xauthority does not exit
更新2:
使用的是supermicro的服务器,启动后能显示supermicro的标,之后就黑屏了。切换到tty2后,用startx
会转到图形界面,只不过是报错界面:
A problem has occurred and the system can't recover. Please log out and try again.
回车之后除了会报上面的xauth ... file .. not exist,下面的X.org X Server中有
pcii if for fd12: 102b:0532, driver (null) #这个和之前的一样,但以前能显示图形界面,所以考虑不是驱动的问题。如果是驱动的问题,怎么消失的呢?
failed to bind extensions
failed to load driver: kms_swrast
EGL_MESA_drm_image required #不懂这是什么,而且required是需要还是已经有了?
gnome-session-is-accelerated: llvmpipe detected. #貌似是唯一正常的一句话了
xinit: connection to X server lost #目前正在这个方面下手