lightdm - Ubuntu gets stuck in a login loop - Ask Ubuntu


my ubuntu stuck in login loop when trying enter desktop. when login, screen gets black , after login screen comes back.

i've read problem might caused error depending on graphics, here's graphics card: ati radeon 7670m

did end here after running sudo startx? nevertheless:

press ctrl+alt+f3 , login shell.

now run ls -la. if see line

-rw-------  1 root root   53 nov 29 10:19 .xauthority 

then need chown username:username .xauthority , try logging in (you may need same for .iceauthority).

else, ls -ld /tmp. check first 10 letters in left: should read so: drwxrwxrwt.

drwxrwxrwt 15 root root 4096 nov 30 04:17 /tmp 

else, need sudo chmod a+wt /tmp , check again.

if not both, i'd recommend either

  1. dpkg-reconfigure lightdm
  2. or uninstall, reinstall it.

now press alt+-> until reach login screen again, , restart.


Comments

Popular posts from this blog

download - Firefox cannot save files (most of the time), how to solve? - Super User

windows - "-2146893807 NTE_NOT_FOUND" when repair certificate store - Super User

sql server - "Configuration file does not exist", Event ID 274 - Super User