linux安装cuda出现You appear to be running an X server; please exit X before installing.错误
使用runfile安装cuda出现如下错误sudo sh cuda_11.2.0_460.27.04_linux.runnvidia-installer log file '/var/log/nvidia-installer.log'creation time: Tue Jun 29 11:06:31 2021installer version: 460.27.04PATH: /usr/local
·
使用runfile安装cuda出现如下错误
sudo sh cuda_11.2.0_460.27.04_linux.run
nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Tue Jun 29 11:06:31 2021
installer version: 460.27.04
PATH: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin
nvidia-installer command line:
./nvidia-installer
--ui=none
--no-questions
--accept-license
--disable-nouveau
--no-cc-version-check
--install-libglvnd
Using built-in stream user interface
-> Detected 80 CPUs online; setting concurrency level to 32.
-> The file '/tmp/.X0-lock' exists and appears to contain the process ID '1911' 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.
解决方法
sudo /etc/init.d/lightdm stop
sudo /etc/init.d/lightdm status
参考:https://www.cnblogs.com/chua-n/p/13208398.html
更多推荐
已为社区贡献2条内容
所有评论(0)