Ubuntu16.04LTS更新后,循环登陆界面,却无法进入桌面的问题
问题描述
Ubuntu16.04LTS通过系统内置(设置->详情信息)升级,重启之后发现登陆不了,循环登陆界面,却无法进入桌面,通过 alt+ctrl+f1 进入后台登陆后,通过输入 startx 命令报错如下:
(EE)Fatal server error:no screens found
(EE)Please consult the The X.Org Foundation support at http://wiki.x.org for help.
(EE)Please also check the log file at "/tmp/Xorg.crouton.1.log" for additional information.
(EE)Server terminated with error (1). Closing log file.
xinit: giving up
xinit: unable to connect to X server: Connection redused
xinit: server error
出错原因
显卡GPU驱动出现问题。驱动可能出现异常的情况:
- ubuntu的系统内置升级,强烈不建议通过系统设置->详情信息进行安装更新,据说通过这种方式基本上没有能成功的,或者很少有不出问题的。
- ubuntu的自动升级内核,也会导致驱动掉。
解决办法
思路
卸载现有显卡驱动,安装适合本机显卡的驱动
具体过程
1.alt+ctrl+F1进入后台
2.账号密码登陆:账号Enter 密码Enter
3.获取超级管理员root权限:
sudo su
密码Enter
4.卸载现有驱动:
nvidia-uninstall
选择no Enter
选择ok Enter