无法登录 Ubuntu 16.04

无法登录 Ubuntu 16.04

Ubuntu 安装了一些更新,重启后,我无法登录。它似乎接受了,但随后发出哔哔声并返回登录屏幕。所有用户(包括访客)都做同样的事情。

我在这里查看了一些其他帖子,并尝试了一些建议,但没有成功。我查看了 .xsession-errors 文件,但我不明白错误是什么:

X Error of failed request:  BadValue (integer parameter out of range for operation)
  Major opcode of failed request:  155 (GLX)
  Minor opcode of failed request:  3 (X_GLXCreateContext)
  Value in failed request:  0x0
  Serial number of failed request:  34
  Current serial number in output stream:  35
openConnection: connect: No such file or directory
cannot connect to brltty at :0
upstart: gnome-session (Unity) main process (1751) terminated with status 1
upstart: unity-settings-daemon main process (1737) killed by TERM signal
upstart: Disconnected from notified D-Bus bus
upstart: logrotate main process (1601) killed by TERM signal
upstart: update-notifier-crash (/var/crash/_usr_bin_compiz.1001.crash) main process (1669) killed by TERM signal
upstart: update-notifier-crash (/var/crash/_usr_bin_compiz.1002.crash) main process (1671) killed by TERM signal
upstart: bamfdaemon main process (1730) killed by TERM signal
upstart: hud main process (1735) killed by TERM signal
upstart: indicator-bluetooth main process (1795) killed by TERM signal
upstart: indicator-power main process (1796) killed by TERM signal
upstart: indicator-datetime main process (1797) killed by TERM signal
upstart: indicator-application main process (1844) killed by TERM signal
upstart: job window-stack-bridge failed to stop

谢谢,大卫

答案1

为 .Xauthority 和 .ICEauthority 设置适当的所有权。

chown username:username .Xauthority
chown username:username .ICEauthority

设置/tmp的权限

sudo chmod a+wt /tmp

重启 lightdm

dpkg-reconfigure lightdm
sudo service lightdm restart

重新启动并登录,这应该可以解决您的问题,如果没有,则删除不兼容的图形驱动程序:

对于 Nvidia:

sudo nvidia-settings --uninstall 
sudo apt-get remove --purge nvidia*

对于 amd:

sudo apt-get purge fglrx* 

相关内容