![Ubuntu Gnome 登录循环](https://linux22.com/image/113606/Ubuntu%20Gnome%20%E7%99%BB%E5%BD%95%E5%BE%AA%E7%8E%AF.png)
我运行的是 Ubuntu 17.04。我在升级到 17.04 之前安装了 ubuntu-gnome,并且运行良好。但是,更新后,当我选择Gnome桌面环境时,我无法登录。看起来好像要登录,然后屏幕变黑,让我回到登录屏幕。只有单位有效。我尝试将 .Xauthority 的所有权更改为我的用户,但这并没有解决问题。如果我 su root 然后“startx”我就可以进入 Gnome,但仅此而已。
我可以使用 Unity 登录,一切正常。我还尝试过重新安装 gnome 并清除 nvidia 驱动程序。
以下是我的 .xsession-errors 的一部分。我无法找到该文件中列出的任何错误,因此我不确定如何解决该问题。
有任何想法吗?
/local/games:/snap/bin:/usr/lib/jvm/java-8-oracle/bin:/usr/lib/jvm/java-8-oracle/db/bin:/usr/lib/jvm/java-8-oracle/jre/bin
dbus-update-activation-environment: setting GTK_IM_MODULE=ibus
dbus-update-activation-environment: setting _=/usr/bin/dbus-update-activation-environment
Xsession: X session started for root at Tue Jun 13 17:50:46 CDT 2017
dbus-update-activation-environment: systemd --user not found, ignoring --systemd argument
dbus-update-activation-environment: setting DISPLAY=:0
dbus-update-activation-environment: setting XAUTHORITY=/home/caleblawrence/.Xauthority
localuser:root being added to access control list
dbus-update-activation-environment: systemd --user not found, ignoring --systemd argument
dbus-update-activation-environment: setting GTK_MODULES=gail:atk-bridge
gpgconf: warning: can not open config file /home/caleblawrence/.gnupg/gpg-agent.conf: No such file or directory
dbus-update-activation-environment: systemd --user not found, ignoring --systemd argument
dbus-update-activation-environment: setting QT_ACCESSIBILITY=1
dbus-update-activation-environment: setting QT_LINUX_ACCESSIBILITY_ALWAYS_ON=1
OpenGL version: 3.
dbus-update-activation-environment: systemd --user not found, ignoring --systemd argument
dbus-update-activation-environment: setting SUDO_GID=1000
dbus-update-activation-environment: setting MAIL=/var/mail/root
dbus-update-activation-environment: setting USER=root
dbus-update-activation-environment: setting HOME=/home/caleblawrence
dbus-update-activation-environment: setting GTK_MODULES=gail:atk-bridge
dbus-update-activation-environment: setting QT_LINUX_ACCESSIBILITY_ALWAYS_ON=1
dbus-update-activation-environment: setting DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-knFOsGORh1,guid=a32164b22f30cc2a3788b1d959406c46
dbus-update-activation-environment: setting SUDO_UID=1000
dbus-update-activation-environment: setting IM_CONFIG_PHASE=1
dbus-update-activation-environment: setting LOGNAME=root
dbus-update-activation-environment: setting TERM=linux
dbus-update-activation-environment: setting USERNAME=root
dbus-update-activation-environment: setting WINDOWPATH=2
dbus-update-activation-environment: setting GTK2_MODULES=overlay-scrollbar
dbus-update-activation-environment: setting PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin
dbus-update-activation-environment: setting DISPLAY=:0