Archive for May, 2017

Finally solved the login loop for the Ubuntu 14.04 after NVIDIA


After numerous days of fighting and then frustratingly giving up, I was able to solve the login loop problem.  The problem started appearing when in quest of working on Deep Convolutional Network I started working on Caffe library. All was fine, until I updated something, disturbing the fine balance and causing me to be stuck to the Login Screen that kept popping back up even after my entering the password.

In the process instead of things becoming better, I ended up in the place where my GUI will not even load and I will be stuck to the terminal. I thought I could make it work if I changed from lightgdm to gdm. That change resulted in another headache, “blinking black screen with a cursor on the corner”. Pressing Ctrl-Alt-F1 took me to the terminal but it will keep blinking back to the blank screen, making it impossible to work on anything.  Following https://community.linuxmint.com/tutorial/view/842  and https://seravo.fi/2015/fixing-black-screen-after-login-in-ubuntu-14-04 I tried changing the commands in the grub by setting nomodeset. Although, the author claims it solved its problems but for it did not work. Recognizing that it must be that my gdm is gone bad,  

sudo dpkg-reconfigure gdm

and changed back to lightdm.

One problem solved, no more flickering screen and back to the first problem, stuck in the log-in loop 😦

Trying my luck I performed following

sudo nano /etc/X11/xorg.conf

It was empty, so stepped ahead and deleted it.

Then ran

sudo cop /etc/X11/xorg.conf.nvidia-xconfig-original /etc/X11/xorg.conf
sudo /etc/init.d/lightdm stop
sudo X -configure
sudo /etc/init.d/lightdm restart

And I was able to get past the login screen.

Now I was stuck into “Black Desktop Screen”, https://itsfoss.com/how-to-fix-no-unity-no-launcher-no-dash-in-ubuntu-12-10-quick-tip/ came to the help.