fix Ubuntu 18.04 cannot login in GUI
Posted 荷树栋
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了fix Ubuntu 18.04 cannot login in GUI相关的知识,希望对你有一定的参考价值。
There is a problem when I login into Ubuntu in GUI, it always loop in the GUI login.
I searched in internet, there are lots of solutions, but only below it worked.
1. press ctrl+alt+F2/3... to enter the terminate login as your problem account username.
2. ls -d ~home
drwxr-xr-x 30 root root
3. change the home folder owner
sudo chown username:username /home/{yourusername}
other methods you can try, but they don‘t work for me.
1)
systemctl stop gdm.service
systemctl restart gdm.service
sudo dpkg-reconfigure gdm3
reboot
2)
in my computer, it does not have the extensions folder
cd ~/.local/share/gnome-shell/
mv extensions extensions.bak
mkdir extensions
3) I aso re-installed but still failure
sudo apt-get install --reinstall gnome-session sudo apt-get install --reinstall ubuntu-desktop
4) I aso re-installed but still failure
sudo chmod a+wt /tmp
chown username:username .Xauthority
.ICEauthority
there are not the files .Xauthority .ICEauthority
以上是关于fix Ubuntu 18.04 cannot login in GUI的主要内容,如果未能解决你的问题,请参考以下文章
虚拟机VM15 Ubuntu18.04编写C程序和用ssh连接
RabbitMQ不是以Ubuntu 18.04上的消息“init终止于do_boot,noproc”开头的