PDA

View Full Version : [kubuntu] [lucid] [upgrade] KDM logs me out after 2 seconds



GDR!
May 5th, 2010, 05:22 PM
After an upgrade from Kubuntu 9.10 to 10.04 I'm not able to log in to my computer.

KDE seems to book OK, but when KDM displays login screen, I enter my login and password, and after 2-3 seconds the screen goes blank for a short moment and I'm back at login screen.

KDM log:
http://gdr.pastebin.pl/23049

/var/log/messages doesn't print anything interesting.

I tried: reinstalling nvidia drivers, various combinations of dpkg-reconfigure suggested in the forums, installing kdebase and kubuntu-desktop. Nothing helped.

FrankTank
May 12th, 2010, 12:00 AM
Have a look at your ~/.xsession-errors file

Mine pointed to problems with the /usr/lib/LibGL.so.0 symbolic link. After removing it I am able to use startx to start a KDE session, but I still cannot login via KDM..

GDR!
May 12th, 2010, 06:58 AM
I have just solved it and here is the solution:

Rebooted in safe mode
apt-get purge nvidia-*
Downloaded NVIDIA-Linux-x86_64-195.36.24-pkg2.run
Executed: sh NVIDIA-Linux-x86_64-195.36.24-pkg2.run
Changed runlevel to 3 according to the command suggested by nVidia installer
Logged in and executed sudo sh NVIDIA-Linux-x86_64-195.36.24-pkg2.run
Answer OK to a series of errors, starting with the one saying about symlink
Reboot (in normal mode)


The downside of this is that all my settings (twinview, font sizes etc) are now gone.