How to fix Lubuntu GUI
As the title states, my Lubuntu 13.10 install isn't working quite right currently. I installed everything just fine and was just getting comfortable with my setup. A few of the games I play were having graphics issues, so I was trying to fix that and in turn, broke everything.
When I boot, after I choose Lubuntu, all I get is a flashing horizontal cursor in the top left of my screen. I can switch to terminal mode via Ctrl + Alt + F1 and work from there, but that's it. This began after I installed a package from the command line (I want to say it was nvidia-331 perhaps?). After rebooting, I uninstalled that package and rebooted again to be greeted with the same sad situation. I tried installing nvidia-current which hasn't changed anything. I also tried installing gnome-shell to see if it was a problem with the lubuntu desktop, but it did not change anything.
Any suggestions would be gladly welcome.
Specs:
Lenovo W510 Nvidia 880M i7 Q720 4GB RAM
EDIT:
As @NikTh suggested, [this page] helped fix my initial issue. I simply ran the following:
sudo apt-get remove --purge nvidia-*
sudo apt-get install lubuntu-desktop
sudo rm /etc/X11/xorg.conf
This got my display working properly, but now I load into a login screen, though, which I never had before. When I log in, the screen flashes and brings me right back to the same login screen.
Again, following @NikTh's suggestion, I ran:
rm ~/.Xauthority
sudo service lightdm stop ; sudo service lightdm start
And all is well again!
This answer might help you to get your DE up and running again. It demonstrates on how you can uninstall the nvidia driver completely (clean up any leftovers..etc) and work with the nouveau driver (open source alternative).
As for the login problem
Try to remove the file ~/.Xauthority
. Login from a TTY (CTRL+ALT+F2) and
rm ~/.Xauthority
.
Be careful with the dot and the capital X. This file is hidden in your home directory. It is safe to remove it. It will be generated again in next login. After the deletion restart lightdm.
sudo service lightdm stop ; sudo service lightdm start