Reputation: 328
I have to install CUDA for Linux. I downloaded the toolkit, drivers and SDK. But when I try to install the CUDA drivers, I get the following error:
ERROR: You appear to be running an X server; please exit X before
installing.
I use Ubuntu 10.04 LTS (32 bit)
How can I solve this?
Upvotes: 0
Views: 2501
Reputation: 6440
For Ubuntu 10.04, assuming you're using the Gnome desktop environment, you need to stop the gdm
daemon. From a terminal, run the following:
sudo service gdm stop
This will stop the gdm
daemon and throw you to a bare terminal (if you want to start gdm
again, just replace the stop
argument with a start
argument). Install the CUDA toolkit, drivers, and SDK as you normally would. When you're done, reboot the computer to make sure you're using the new drivers.
sudo reboot
Upvotes: 1