1

I upgraded to oneiric. When my machine boots, I get a black console with text messages listing the services that are starting up, and then my machine sits there in that state and lightdm never comes up. I am able to log in by doing control-alt-F1, logging in, and doing a startx by hand.

I tried switching from lightdm to gdm, but that hasn't helped either.

I tried doing sudo start gdm but it tells me that gdm is already running.

The file /etc/X11/default-display-manager contains /usr/sbin/gdm.

Any suggestions on how to fix this? Thanks.

My video card is nvidia:

$ lspci | grep VGA
02:00.0 VGA compatible controller: nVidia Corporation GT216 [GeForce GT 220] (rev a2)

2 Answers2

0

I came across your question after having a similar problem, and solved it a different way after a lot of frustration. /etc/lightdm/lightdm.conf was trying to use "unity-greeter" but I changed it to "lightdm-gtk-greeter". This worked for me. I hope it might help somebody.

Josh
  • 131
  • 3
0

I'm assuming you had proprietary graphics drivers installed. This would have created an xorg.conf file. If you rename it, you should be able to boot to a graphical desktop using open-source drivers. If you have previously blacklisted the open-source drivers, you will need to un-blacklist them.

To rename xorg.conf

sudo mv /etc/X11/xorg.conf /etc/X11/xorg.backup

Oneiric is designed around lightdm - therefore reconfigure your display manager

sudo dpkg-reconfigure lightdm

/etc/X11/default-display-manager should now point to lightdm.

If you are still left with a black-screen, then the opensource nouveau graphics driver is at fault/and or KMS is at fault.

First try booting with nomodeset in your GRUB boot options.

You could also try force booting to the low resolution VESA graphics via xforcevesa or possibly xforcevesa nomodeset.

If you are unsure how to temporily add these GRUB boot options see my linked question.

If these temporary boot options still don't work - you can install the nvidia proprietary graphics driver from the command line:

sudo apt-get install nvidia-current

Linked Question:

  1. How do I set 'nomodeset' after I've already installed Ubuntu?
fossfreedom
  • 174,526