Also happened to me after removing the -fglrx propietary driver in Jockey. Fixed by purging it some more and reinstalling libgl1-mesa:
sudo apt-get remove --purge xserver-xorg-video-ati xserver-xorg-video-radeon sudo apt-get install xserver-xorg-video-ati sudo apt-get install --reinstall libgl1-mesa-glx:amd64 libgl1-mesa-dri:amd64 libgl1-mesa-glx:i386 libgl1-mesa-dri:i386 xserver-xorg-core sudo dpkg-reconfigure xserver-xorg sudo /etc/init.d/kdm restart # or whichever login manager you use as per <a href="https://wiki.ubuntu.com/X/Troubleshooting/FglrxInteferesWithRadeonDriver#Problem :__Need_to_fully_remove_-fglrx_and_reinstall_- ati_from_scratch">FglrxInteferesWithRadeonDriver</a>. I suspect that only "sudo apt-get install --reinstall libgl1-mesa- glx:amd64 libgl1-mesa-dri:amd64 libgl1-mesa-glx:i386 libgl1-mesa- dri:i386" was necessary, so you may want to try that first and report back. Note that this is on Oneiric (which has multiarch enabled by default), where I had both amd64 and i386 packages installed, so I had to reinstall both or face a "<a href="https://bugs.launchpad.net/ubuntu/+source/apt/+bug/859188">E: Internal Error, No file name for libgl1-mesa-glx</a>". If you're not on Oneiric or have disabled multiarch, an old fashioned "sudo apt-get install --reinstall libgl1-mesa-glx libgl1-mesa-dri" should work. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/854140 Title: xsession fails on login due to video driver kubuntu 11.10 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+bug/854140/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs