Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?

share|improve this question
Uninstalling the cuda drivers didn't help? What packages did you install or what guide did you follow? – hnasarat Nov 25 '12 at 3:28
I attempted to uninstall the cuda drivers by deleting the /usr/local/cuda-5.0 directory as the installer said, but that caused the screen to go totally black on reboot. I took the machine downstairs to get a wired internet connection, sshed into the machine, installed and now everything is working again. Sheesh, do not ever mess with CUDA. – Nathan Nov 25 '12 at 3:37
Did you ever get CUDA working? – dspyz Mar 17 '13 at 6:32
Yes, at a later point with a later version of the driver. I'm not sure how sorry. – Nathan Mar 18 '13 at 18:20
@Nathan I also had problem installing CUDA from official packages: Can you please confirm my bug report here – NoBugs Jan 14 '14 at 6:53

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.