I tried to install CUDA tookit 5.0 on ubuntu 12.04 and the installation proceeded OK.
After rebooting however, all I get is a terminal login. I've attempted to start the display manager with
sudo start lightdm and it says all OK, but just hangs the prompt when it finishes loading without ever starting any display manager.
sudo start gdm just flickers and goes back to the prompt.
There is no network connection on the machine either. It usually connects to a wireless network with remembered credentials.
What can I do to recover the machine?