Using: nvidia-installer ncurses v6 user interface -> Detected 8 CPUs online; setting concurrency level to 8. -> The file ‘/tmp/.X0-lock’ exists and appears to contain the process ID ‘773’ of a running X server. ERROR: You appear to be running an X server; please exit X before installing. For further details, please see the section INSTALLING THE NVIDIA DRIVER in the README available on the Linux driver download page at www.nvidia.com. ERROR: Installation has failed. Please see the file ‘/var/log/nvidia-installer.log’ for details. You may find suggestions on fixing installation problems in the README available on the Linux driver download page at www.nvidia.com.
driver
1 2 3 4 5 6 7 8 9 10
cat <<EOF | sudo tee /usr/lib/modprobe.d/dist-blacklist.conf blacklist nouveau options nouveau modeset=0 EOF
sudo update-initramfs -u
#reboot lsmod | grep nouveau
ERROR: The Nouveau kernel driver is currently in use by your system. This driver is incompatible with the NVIDIA driver, and must be disabled before proceeding. Please consult the NVIDIA driver README and your Linux distribution’s documentation for details on how to correctly disable the Nouveau kernel driver.