Can't log into Ubuntu 14.04 after update, login loop, incorrect login in tty - Ask Ubuntu


my relatives updated ubuntu , couldn't log after that. after entering password screen blinked black , returned login screen. when saw screen there ubuntu user , guest user. tried ctrl + alt + f1 , tried log in ubuntu user gave me "incorrect login" error password correct.

after spending fair amount of time able solve problem want share community.

problem 1 user name wasn't ubuntu. home.

the second problem ubuntu installed nvidia drivers ati radeon video card.

to find user name out booted ubuntu recovery mode selecting in grub menu. , chose root console. typed

cut -d: -f1 /etc/passwd 

from long list of weird usernames made assumption it's home , right. restarted computer ctrl + alt + delete. during login screen pressed ctrl + alt + f1 , logged in home user.

by time relatives remembered before update ubuntu said nvidia. knew had ati radeon video card. wiped out nvidia drivers , reinstalled ubuntu-desktop using these commands

sudo apt-get remove --purge nvidia-* sudo apt-get install ubuntu-desktop sudo rm /etc/x11/xorg.conf echo 'nouveau' | sudo tee -a /etc/modules 

rebooted ctrl + alt + delete , worked. hope helps somebody


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