When I add “export PATH=/usr/local/cuda-8.0/bin${PATH:+:${PATH}}” to ~/.profile, the login loop happens, and all PATH lost. all of bash, cat, python can’t be found.
After comment it out, login works, but nvcc can’t be found.
I am new to Linux. how to set the path properly?
I don’t think this is completely solved yet. I’m facing fresh problems on Ubuntu 16.04. I tried this solution. The login loop is avoided. But my devices are not getting detected by any libraries. When I hit nvidia-smi, instead of the device names, I’m getting ERR.
I was able to install the drivers and solve the login loop problem in Ubuntu 16.04 + Nvidia Quadro 620M. Nevertheless, I’m still not able to get any output on the VGA/HDMI ports. Despite the fact that all the excutables work, I exported the environment variables successfully, I can check nvcc version, I can use CUDA libraries, etc, I think Ubuntu is not really using the NVIDIA card to produce the graphics…
Honestly Nvidia, is it that difficult to develop working drivers? I am not talking about completely optimised, full throttle drivers, but…please I just want to have a VGA output in linux and actually use the card I bought from you…
Error message i got after i run the nvidia…384.90.run. please install the linux-headers-3.13.0-43-generic package or use the --kernelsourcedir option to tell dkms where it’s located
Old post but THANK YOU for posting these complete instructions. +1
This is the ONLY solution which really helps to solve the login loop issues on Ubuntu 16.04 & 18.04 after struggling for one whole week!
Appreciate it!
Thank you so much! These are the best instructions I found online after 2 weeks. Only difference I had in the system I was using was the display manager, and using sudo systemctl stop gdm3 and sudo systemctl start gdm3 where your lightdm commands were worked.