I want to install CUDA 8.0 in my Ubuntu 16.04.
First I stopped the X server with:
sudo /etc/init.d/lightdm stop
Then I installed CUDA 8.0 from the official Nvidia website. (The graphics driver is installed with CUDA).
When I rebooted my Ubuntu, it got stuck in a login loop. What can I do?