Ubuntu 10.04 randomly won't start X automatically

Asked by Daniel Dewey

When I first installed Ubuntu 10.04 I set up three logins. It would automatically load a graphical login screen and everything worked great, but after some automatic updates about 75% of the time it no longer loads a graphical login screen instead I get a terminal login screen and have to type startx to get into gnome after that it works as expected except I don't get the panel item to switch users and shut down my computer. The odd thing is that this problem doesn't happen all the time.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu xserver-xorg-video-nv Edit question
Assignee:
No assignee Edit question
Solved by:
Daniel Dewey
Solved:
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

When the X server runs ok run:

dmesg > ~/Desktop/good.txt; cat /var/log/Xorg.0.log >> ~/Desktop/bad.txt

next time it is bad and still in the terminal run:

dmesg > ~/Desktop/bad.txt; cat /var/log/Xorg.0.log >> ~/Desktop/bad.txt

Then compare the 2 files.

Revision history for this message
Larry Jordan (larryjor) said :
#2

      Shouldn't the first file be ~/Desktop/good.txt? You gave them both the same name, actionparsnip... he's going to overwrite the 'good' file with the 'bad' file.

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#3

Yeah my bad, pun intended :)

You get the idea. Once you have both text files you can compare and see why it failed.

Revision history for this message
Daniel Dewey (daniel-dewey) said :
#4

This is where the bad log differs. It seems it is a problem with my graphics driver or something related to it. I'm really not sure how to resolve this issue. I do know that I never had this problem with Ubuntu 9.04 on the same machine.

(EE) Jul 22 16:06:01 NVIDIA(0): Failed to initialize the NVIDIA kernel module. Please see the
(EE) Jul 22 16:06:01 NVIDIA(0): system's kernel log for additional error messages and
(EE) Jul 22 16:06:01 NVIDIA(0): consult the NVIDIA README for details.
(EE) NVIDIA(0): *** Aborting ***
(II) UnloadModule: "nvidia"
(II) UnloadModule: "wfb"
(II) UnloadModule: "fb"
(EE) Screen(s) found, but none have a usable configuration.

Fatal server error:
no screens found

Please consult the The X.Org Foundation support
  at http://wiki.x.org
 for help.
Please also check the log file at "/var/log/Xorg.0.log" for additional information.

 ddxSigGiveUp: Closing log

Revision history for this message
Daniel Dewey (daniel-dewey) said :
#5

It seems to load fine if I uninstall the Nvidia Driver. I tried installing an older version of the driver, but it does the same thing. I used these drivers with the previous version of Ubuntu without any issues like these.

Revision history for this message
Daniel Dewey (daniel-dewey) said :
#6

After desperately trying several suggestions found on other sites I found this article :

http://www.ubuntugeek.com/howto-install-nvidia-drivers-manually-on-ubuntu-10-04-lucid-lynx.html

and I downloaded the correct driver for my card from the Nvidia website. I have the GeForce 6150 card so I downloaded the 64 bit driver for the GeForce 6 series which is version number 256.35 which is completely different from those that come listed after install. After downloading the driver I uninstalled all the video drivers that were on my system and installed the new drivers according to the above guides instructions. So far it seems to have fixed the problem.