安装nvidia驱动报错解决方案

报错如下:

 

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.

  1. 查看报错提示日志/var/log/nvidia-installer.log

Unable to load: nvidia-installer ncurses v6 user interface

Using: nvidia-installer ncurses user interface

-> Detected 24 CPUs online; setting concurrency level to 24.

-> Tagging shared libraries with chcon -t textrel_shlib_t.

-> The file '/tmp/.X0-lock' exists and appears to contain the process ID '14506' 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.

 Operation not permitted

  1. 服务器正在运行14506,X-server,

ps -ef查看14506

 sudo Kill -9 14506:杀死进程服务,重新执行nvidia安装程序(NVIDIA-Linux-x86_64-515.65.01.run)即可

 

(不建议用网上的相关解决方案,需要reboot重启,针对日志问题去解决)

评论 3
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值