急救,ubuntu无法登录

来源:百度知道 编辑:UC知道 时间:2024/06/16 23:20:26
我是ubuntu新手,刚装utuntu半个月,前一段时间ubuntu启动都是好好的,就是昨天启动到输入用户名和密码的界面时,那界面只是一系列的竖形彩色条纹,没有漂亮的ubuntu黄色输入界面,鼠标也没反应。然后我从recovery模式启动,用命令dpkg-reconfigure -phigh xserver -xorg把xorg.conf更新了一下,再启动,这样有时候可以正常启动到输入用户名和密码的界面,有时候又不可以,不知道是为什么,我已经搞了好多次了,还是靠概率来启动,估计过几天就完全不能启动了,大家帮帮忙阿,现谢谢了!
对了,我的/etc/X11/xor.conf文件内容如下:
# xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the xorg.conf manual page.
# (Type "man xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
# sudo dpkg-reconfigure -phigh xserver-xorg

正常启动(不要恢复模式)后直接按ctrl+alt+f1进终端,输用户名和密码(不会显示),登录。
连上网,输sudo apt-get purge xserver-xorg
碰到提示按Y
输sudo apt-get install xserver-xorg
碰到提示按Y
重启即可。

这个文件看不出问题,不过如果是xorg的问题,试试看去驱动之家上下载最新的显卡驱动安装