For the record, I'm running Kubuntu 13.10, 64-bit, with a GeForce GT630 Nvidia card and have two monitors configured side-by-side through nvidia-settings. Also for the record, the later versions of nvidia-settings actually work very well with multiple monitors, unlike earlier versions which required a great deal of hackery.
Initial symptoms
After updating some applications I decided to reboot (I am rather paranoid these days about updates and rebooting as I have had numerous Nividia issues) I am able to load KDM (actually lightdm for my version) and after attempting to start my account, KDM drops back to the basic GUI login prompt... which repeatedly keeps being interrupted and returning to login.
The first problem I dealt with was finding and fixing any files in my home directory that were owned by root. This is a well-known problem on Ubuntu (maybe other distributions?) wherein root owns a few files and interrupts KDM loading because of permission issues. To resolve these issues, I ran
find -user rootin my home directory and it listed all files owned by root. Then I ran:
sudo chown jseidel:jseidel *on the root-owned files to make them mine. If you have links, you may have to use the -h option on chown.
One particular problem file is .Xauthority, which sometimes, some way, gets owned by root and will certainly stop your desktop from loading, either in KDM or Gnome.
What finally worked for me
As I progressed through numerous tests, I noticed that when I dropped into a shell (Ctrl-Alt-F1), I got the message
initctl: Event failedwhich can indicate an Nvidia driver issue (I've had these many times before -- always a PITA!)
When I looked in the Kernel log after a failure:
less /var/log/kern.logI found a series of messages like:
API mismatch... Nvidia client is version 331.49 Kernel is version 319.60So... the Nvidia installer goofed! What finally worked for me in this situation was the following:
sudo apt-get remove --purge nvidia*followed by reinstalling the appropriate Nvidia driver, V331.20 in my case. I do my installations from the command line like so, after downloading the desired Nvidia driver:
cd ~/Drivers chmod +x NVIDIA-Linux-x86_64-331.20.run sudo ./NVIDIA-Linux-x86_64-331.20.run
Some useful commands:
less /proc/driver/nvidia/version # Show installed version
Some possibly useful links:
http://askubuntu.com/questions/41681/blank-screen-after-installing-nvidia-restricted-driver
http://news.softpedia.com/news/How-to-Install-the-Latest-NVIDIA-331-20-Drivers-in-Ubuntu-13-10-399182.shtml
http://ubuntugenius.wordpress.com/2013/11/29/ubuntu-13-10-permissions-fix-this-operation-cannot-continue-since-proper-authorization-was-not-provided-halts-software-updater-shutdown-drive-mounting-dvd-playback-etc/
http://ubuntuforums.org/showthread.php?t=1745841
No comments:
Post a Comment