Talvez seja um pouco tarde demais, mas acabei de encontrar o mesmo problema, de acordo com: link ,
Eu apenas dkms meu driver nvidia, então ele funcionou, é algo como:
sudo dkms install -k 4.10.0-11-generic -m nvidia-378/378.13
Ubuntu 17.10. Toda vez que eu faço o login com a senha certa, ele volta para a tela de login. Mas startx
pode funcionar.
Percebi que esse problema existe há muito tempo e, na verdade, tentei
chmod
/ chown
a .Xauthority
, .ICEauthority
sudo chmod a+wt /tmp
não tem drivers nvidia (eu acho)
Além disso, se nenhum método puder funcionar, é possível obter os dados de Access-Your-Private-Data
sem digitar a frase secreta? Eu só tenho minha senha.
O conteúdo principal de xsession-errors
é este:
Xsession: X session started for root at Mon Nov 20 21:29:35 PST 2017
dbus-update-activation-environment: systemd --user not found, ignoring --systemd argument
dbus-update-activation-environment: setting DISPLAY=:2
dbus-update-activation-environment: setting XAUTHORITY=/home/my_name/.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/my_name/.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: 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 LANGUAGE=zh_CN:zh
dbus-update-activation-environment: setting LC_TIME=en_CA.UTF-8
dbus-update-activation-environment: setting USER=rootdbus-update-activation-environment: setting HOME=/home/my_name
dbus-update-activation-environment: setting QT4_IM_MODULE=fcitx
dbus-update-activation-environment: setting GTK_MODULES=gail:atk-bridge
dbus-update-activation-environment: setting LC_MONETARY=en_CA.UTF-8
dbus-update-activation-environment: setting DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-j22G1Z3FmJ,guid=0064f6bf6084b5499e918d075a13b9bf
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 GTK_IM_MODULE=fcitx
dbus-update-activation-environment: setting TERM=linux
dbus-update-activation-environment: setting USERNAME=root
dbus-update-activation-environment: setting WINDOWPATH=5
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 LC_ADDRESS=en_CA.UTF-8
dbus-update-activation-environment: setting DISPLAY=:2
dbus-update-activation-environment: setting LANG=zh_CN.UTF-8
dbus-update-activation-environment: setting LC_TELEPHONE=en_CA.UTF-8
dbus-update-activation-environment: setting XAUTHORITY=/home/my_name/.Xauthority
dbus-update-activation-environment: setting XMODIFIERS=@im=fcitx
dbus-update-activation-environment: setting SUDO_COMMAND=/usr/bin/startx
dbus-update-activation-environment: setting LC_NAME=en_CA.UTF-8
dbus-update-activation-environment: setting SHELL=/bin/bash
dbus-update-activation-environment: setting QT_ACCESSIBILITY=1
dbus-update-activation-environment: setting SUDO_USER=my_name
dbus-update-activation-environment: setting LC_MEASUREMENT=en_CA.UTF-8
dbus-update-activation-environment: setting LC_IDENTIFICATION=en_CA.UTF-8
dbus-update-activation-environment: setting GPG_AGENT_INFO=/home/my_name/.gnupg/S.gpg-agent:0:1
dbus-update-activation-environment: setting QT_IM_MODULE=fcitx
dbus-update-activation-environment: setting PWD=/home/my_name
dbus-update-activation-environment: setting XDG_DATA_DIRS=/usr/share/gnome:/usr/local/share/:/usr/share/:/var/lib/snapd/desktop
dbus-update-activation-environment: setting CLUTTER_IM_MODULE=xim
dbus-update-activation-environment: setting LC_NUMERIC=en_CA.UTF-8
dbus-update-activation-environment: setting LC_PAPER=en_CA.UTF-8