一位朋友试图在他的Ubuntu16.04计算机上重新安装图形驱动程序(从大约3到4个月前的14.04升级),现在却陷入了一个无休止的登录循环中。我花了将近1.5个小时来尝试多个答案中的大多数命令,在这个和其他几个都没有效果。
这是.xsession-errors
openConnection: connect: No such file or directory
cannot connect to brltty at :0
upstart: gnome-session (Unity) main process (2094) terminated with status 1
upstart: Disconnected from notified D-Bus bus
upstart: logrotate main process (1919) killed by TERM signal
upstart: update-notifier-crash (/var/crash/_sbin_upstart.104.crash) main process
(1983) killed by TERM signal
upstart: update-notifier-crash (/var/crash/_usr_lib_xorg_Xorg.0.crash) main proc
ess (1984) killed by TERM signal
upstart: bamfdaemon main process (2047) killed by TERM signal
upstart: hud main process (2061) killed by TERM signal
upstart: unity7 pre-start process (2065) terminated with status 143
upstart: indicator-bluetooth main process (2106) killed by TERM signal
upstart: indicator-power main process (2107) killed by TERM signal
upstart: indicator-datetime main process (2111) killed by TERM signal
upstart: indicator-sound main process (2116) killed by TERM signal
upstart: indicator-printers main process (2119) killed by TERM signal
upstart: indicator-session main process (2120) killed by TERM signal
upstart: indicator-application main process (2138) terminated with status 1
upstart: unity-panel-service main process (2098) killed by TERM signal这可能是其他人以前遇到过的问题,但由于有这么多类似的问题/答案,很难找到有用的东西。
在这一点上,我想,如果我从一开始就重新安装整个操作系统,我会花更少的时间。
显卡: AMD Radeon HD 6350 512 AMD
发布于 2016-10-28 02:06:53
尝试在恢复模式下启动Ubuntu。
首先,连接以太网电缆并手动配置网络连接:https://help.ubuntu.com/community/NetworkConfigurationCommandLine/Automatic
确保您有互联网连接:
ping -c 4 google.com从那里移除amd和nvidia驱动程序:
sudo apt-get remove --purge xorg-driver-fglrx fglrx* nvidia* nouveau xserver-xorg-video-ati这将删除amd和nvidia视频驱动程序。
安装开源视频驱动程序:
(专有驱动程序可以在以后安装)
Intel: no action needed
AMD: sudo apt-get install xserver-xorg-video-ati
Nvidia: sudo apt-get install nouveau重新配置x:
sudo apt-get install build-essential cdbs fakeroot dh-make debhelper debconf libstdc++6 dkms libqtgui4 wget execstack libelfg0 dh-modaliases
sudo apt-get install --reinstall libgl1-mesa-glx libgl1-mesa-dri
sudo mv /etc/X11/xorg.conf /etc/X11/xorg.conf.old
sudo dpkg-reconfigure xserver-xorg更新和修复损坏的依赖关系:
sudo apt-get update && sudo apt-get upgrade && sudo apt-get autoremove && sudo apt-get check现在重新启动:
sudo reboot now你的系统现在应该恢复了。要安装专有驱动程序或其他gpu芯片,请访问此处获取说明:https://help.ubuntu.com/community/BinaryDriverHowto
https://askubuntu.com/questions/842640
复制相似问题