码迷,mamicode.com
首页 > 系统相关 > 详细

fix Ubuntu 18.04 cannot login in GUI

时间:2020-03-26 10:50:56      阅读:94      评论:0      收藏:0      [点我收藏+]

标签:roo   dir   install   restart   emc   into   led   hang   not   

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

标签:roo   dir   install   restart   emc   into   led   hang   not   

原文地址:https://www.cnblogs.com/zjbfvfv/p/12572608.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!