[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: xorg not working after synaptic upgrade (Lenny stable)



Thomas Anderson on 13/04/09 13:01, wrote:
I hope that this will work for you, because it worked for me this a.m. when
I updated.  The stock kernel image has been updated (2.6.26-2-686 for me).
The recipe below worked for me.  Good luck:

1. download the latest nVidia driver from the nVidia site
2. back up your xorg.conf file for safe keeping
3. stop the *dm (for me this is gdm, so therefore: sudo /etc/init.d/gdm
stop)
4. download the necessary linux header file: sudo apt-get install
linux-headers-`uname -r`
5. sudo sh NVIDIA-Linux-x86-<version>-pkg1.run
6. don't allow the installer to download a new kernel, allow it to compile,
don't allow it to abort (i.e. accept that the gcc version may be dissimilar)
and allow nvidia to update the xorg.conf file
7. sudo /etc/init.d/gdm start (replace gdm with kdm if appropriate)


Just did it myself as well and want to add to (6) just for the record:

nvidia.com has never had the kernel module available that I needed so that step was always a waste of time.

at the message about the gcc version, you probably do have the gcc version available on your system and if so you might as well avoid the chance of things going wrong by compiling against a version it doesn't like - set the version it should use in the env before launching NVIDIA-Linux...... like this:

export CC="gcc-4.1"

where 4.1 was the version it likes while lenny (which I'm using) is on 4.3.

If you don't have it, just apt-get it and then do the same.

I also found that the debian packages which I had previously used foobar'd the whole nvidia driver at next boot because the init.d scripts executed - this might just be an artifact of the mess I got myself into when I upgraded from sarge previously, but as a precautionary measure, I'd say remove those packages.



Reply to: