LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Xserver failed to start after update (https://www.linuxquestions.org/questions/linux-hardware-18/xserver-failed-to-start-after-update-731629/)

yaarappa 06-09-2009 05:51 AM

Xserver failed to start after update
 
Hi,

After a routine update my screen did not start as usual. It appears like a DOS screen asking me to login. It says Xserver failed to start. I had a similar problem after installing my graphics card in March http://www.linuxquestions.org/questi...476/page3.html

I use OpenSuse 11 and the two updates were a new kernel which is linux-peze 2.6.25.20-0.4 and the other update is DOS 2 Unix after which when I restarted the PC it wouldnt start as usual.

Do I have to update the drivers every time the kernel is updated? or is it the dos the problem this time?

Please help! Thank you

the trooper 06-09-2009 07:10 AM

As you have updated your kernel,i would think that you will need to reinstall your graphics driver.
Looking at your previous post you are using an Nvidia graphics card.
Edit your xorg.conf file to use the nv driver,then restart X.
That should hopefully give you a working gui,so you can then sort reinstalling Nvidia drivers.

Quote:

Do I have to update the drivers every time the kernel is updated?
Depends.
If you go from a 2.6.24 to a 2.6.26 kernel,then yes you will need to compile the Nvidia module.
If you go from 2.6.26-1 to 2.6.26-2 as a security patch/update you should be okay.
Bare in mind these are just examples i have used.

yaarappa 06-10-2009 07:55 AM

Thank you for your post trooper. I followed the following steps advised by coolcix;

1) Let the system to boot in text mode (you should be already at this point after the reboot)
2) Login as root
3) Locate the NVIDIA installer and run it to uninstall the previously installed driver (if you have accidentaly removed it, download it again... looking for the same version).

sh NVIDIA-Linux-x86_64-180.22-pkg2.run -uninstall

4) then relaunch the installer to reinstall it (you have to be sure to have the kernel source of the new kernel before trying this):

sh NVIDIA-Linux-x86_64-180.22-pkg2.run

this will build a new nvidia driver compatible with the new kernel.

5) Logout and reboot and you should see your X environment living again! :-)

And it works
Thank you!

colucix 06-10-2009 09:24 AM

You're welcome! :)

the trooper 06-10-2009 11:30 AM

Glad to hear you got it working.
Don't forget the nv driver,its a good 'get out of jail' card!.


All times are GMT -5. The time now is 08:41 PM.