简介

我用的系统是ubuntu16.04 lts,lts是长期更新的意思,所以有时候更新的话,会导致和NVIDIA驱动冲突,所以需要重新安装一下就可以了。

方法

首先得先进入tty1控制台,具体是在登录界面直接按ctrl+alt+F1,然后输入账号,密码登录进去。

然后关闭X-windows服务,不执行这步的话,直接安装会有提醒的

sudo service lightdm stop  

然后可以安装了,我的驱动在Downloads文件夹下,一直没有删除。

cd Downloads/
sudo ./NVIDIA-Linux-x86_64-390.25.run

然后点击accept,然后按照如下操作

there appear to already be a driver installed on your system(version:390.25),As part of installing this driver(version:390.25).the existing dirver will be uninstalled.Are you sure want to continue
点击continue installationthe distribution-provided pre-install script failed!, Are you sure want to be constiue
点击continue installationWARNING:Unable to find a suitable destination to install 32-bit compatibility libraries. Your system may not be set up for 32-bit compatibility. 32-bit compatibility files will not be installed; if you wish to install them, re-run the installation and set a valid directory with the --compat32-libdir option.
点击okwould you like to run the nvidia-xconfig utility to automatically update your X configuration file so that the NVIDIA X driver will be used when you restart X ? Any pre-existing X configuration file will be backed up
点击 NOInstallation of the NVIDIA Accelerated Graphics Driver for Linux-x86_64(version:390.25) is now complete.  Please update your XF86Config or xorg.conf file as appropriate;see the file
/usr/share/doc/NVIDIA_GLX-1.0/README.txt for details.
点击OK

然后键入sudo reboot 重启就可以了

下面记录一下其他的问题

1.Ubuntu下出现PCIe Bus Error: severity=Corrected, type=Physical Layer, id=00e5或id=00e8(Receiver ID)解决方法

https://blog.csdn.net/lingyunxianhe/article/details/84891612

2. ubuntu系统 分辨率只有640*480 的解决办法

https://blog.csdn.net/chenguizhenaza/article/details/100131944

3. terminall输入nvidia-smi出现

NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running.

ubuntu16.04下出现登陆不进去相关推荐

  1. Ubuntu16.04下Neo4j图数据库官网安装部署步骤(图文详解)(博主推荐)

    不多说,直接上干货! 说在前面的话  首先,查看下你的操作系统的版本. root@zhouls-virtual-machine:~# cat /etc/issue Ubuntu 16.04.1 LTS ...

  2. 在ubuntu16.04下安装opencv4.1.1(借鉴多篇的成果,爬了些许坑)(001)

    在ubuntu16.04下安装opencv4.1.1(借鉴多篇的成果,爬了些许坑) 一 下载 先去github上下载对应的opencv版本和opencv_contrib版本,我下载的是opencv4. ...

  3. ubuntu16.04 下安装Opencv2.4.9

    ubuntu16.04 下安装Opencv2.4.9 OpenCV的源码download from:  https://sourceforge.net/projects/opencvlibrary/? ...

  4. ubuntu16.04下ROS最新换源方法,解决Hash sum mismatch 问题

    1.更换源 备份原始数据 cd /etc/apt/ sudo cp sources.list sources.list.bak sudo gedit sources.list 科大源: deb htt ...

  5. Ubuntu16.04下Mongodb官网卸载部署步骤(图文详解)(博主推荐)

    不多说,直接上干货! 前期博客 Ubuntu16.04下Mongodb官网安装部署步骤(图文详解)(博主推荐) https://docs.mongodb.com/manual/tutorial/ins ...

  6. Ubuntu16.04下面的vs code出现Unable to activate CppCheck analyzer

    Ubuntu16.04下面的vs code出现Unable to activate CppCheck analyzer 解决方案: synaptic管理器中安装cppcheck和cppcheck-gu ...

  7. Ubuntu16.04下Mongodb官网安装部署步骤(图文详解)(博主推荐)

    不多说,直接上干货! 在这篇博客里,我采用了非官网的安装步骤,来进行安装.走了弯路,同时,也是不建议.因为在大数据领域和实际生产里,还是要走正规的为好. Ubuntu16.04下Mongodb(离线安 ...

  8. linux系统脚本安装失败,ubuntu16.04下vim安装失败的原因分析及解决方案

    先给大家说下问题描述? 重装了ubuntu系统,安装vim出现了以下问题: sudo apt-get install vim 正在读取软件包列表... 完成 正在分析软件包的依赖关系树 正在读取状态信 ...

  9. vscode linux新建c语言,Ubuntu16.04下配置VScode的C/C++开发环境

    1. Vscode安装 Visual studio code是微软发布的一个运行于 Mac OS X.Windows和 Linux 之上的,针对于编写现代 Web 和云应用的跨平台源代码编辑器.第一种 ...

最新文章

  1. 集成、知识蒸馏和自蒸馏有区别?
  2. oracle10.2 管理工具,Oracle 10.2.0.5 EM管理器的BUG
  3. python性能测试方法_Python实现测试磁盘性能的方法
  4. java xheditor 上传图片_xhEditor粘贴图片自动上传到服务器(Java版)
  5. jQuery实现两个列表框的值之间的互换:
  6. 区块链项目开发最容易受区块链技术影响的行业
  7. linux命令行界面如何安装图形化界面
  8. qq音乐linux版本下载地址,QQ音乐linux下载
  9. 天正提示加载lisp_天正加载不了 - 卡饭网
  10. C笔记《C Primer Plus 6E》
  11. YOLO测试图片显示准确率值
  12. 制作名片设计需要哪些要素
  13. 中岛美嘉 ,经我也想过一了百
  14. 44session绑定解绑、钝化活化
  15. 【NLP】OpenAI GPT算法理解
  16. 昌平北七家空调移机-空调安装电话
  17. 个人博客网站的详细搭建过程
  18. 数仓工具—Hive进阶之数据存储格式(5)
  19. 内网机无法ping通外网机
  20. 微信公众号H5页面支付JSAPI

热门文章

  1. 20190810货币基金
  2. [linux驱动]proc学习笔记(一)
  3. 【python】mysql的操作
  4. 线程通信之多个线程循环执行,(A线程执行5次,B线程执行10次,C线程执行15次)...
  5. 一行行地读取输入行,将把最长的行打印出来
  6. jmeter 聚合报告说明_jmeter之聚合报告
  7. 06-01 搭建持续集成平台 Jenkins
  8. 文件夹去掉git版本控制_git 从版本控制中删除文件及.gitignore的用法
  9. c++用一级运算比较大小_Python 学习笔记:Python 中的数字和数字型运算
  10. linux 进程崩溃log,linux调试:dmesg 查看程序崩溃原因分析方法之一