[置顶] ubuntu 16.04 循环登录 && An error occurred while performing the step : " Building kernel modules "
2018-01-22 20:39
861 查看
ubuntu 16.04 循环登录问题解决办法
问题描述:Ubuntu16.04系统,在某次重启之后发现循环登录,或者分辨率变小(显示的非常大)。
问题原因:NVIDIA驱动出现了问题,可能由很多原因引起。
解决方法:
(1)进入文本模式:CTRL+ALT+F1
(2)Uninstall any previous drivers :
(3)Uninstall the drivers from the .run file :
(4)此时,重启可login normally.
(5)驱动重新安装:
(6)sudo service lightdm restart(可正常登录)
(7)重启不会出现循环登录
安装NVIDIA显卡驱动是可能遇到的问题:
出现:ERROR : An error occurred w
4000
hile performing the step : ” Building kernel modules “. See /var/log/nvidia-installer.log for details.
问题原因:Linix系统的内核是在不断更新的,而安装的NVIDIA驱动是之前下载好的,没有更新,因此安装过程中无法创建内核。
解决方法:
Google上有人提出下载patch来解决,但是比较麻烦。最高效的方法是下载最新版的显卡驱动(选择对应的版本)。下载地址:http://www.nvidia.cn/Download/index.aspx?lang=cn.
问题描述:Ubuntu16.04系统,在某次重启之后发现循环登录,或者分辨率变小(显示的非常大)。
问题原因:NVIDIA驱动出现了问题,可能由很多原因引起。
解决方法:
(1)进入文本模式:CTRL+ALT+F1
(2)Uninstall any previous drivers :
sudo apt-get remove nvidia-* sudo apt-get autoremove
(3)Uninstall the drivers from the .run file :
sudo nvidia-uninstall
(4)此时,重启可login normally.
(5)驱动重新安装:
Ctrl+Alt+F1 sudo service lightdm stop sudo ./NVIDIA-Linux-x86_64-381.22.run -no-x-check -no-nouveau-check -no-opengl-files
-no-x-check安装驱动时关闭x服务; -no-nouveau-check 安装驱动时禁用Nouveau -no-opengl-files 安装时只装驱动文件,不安装Opengl
(6)sudo service lightdm restart(可正常登录)
(7)重启不会出现循环登录
安装NVIDIA显卡驱动是可能遇到的问题:
出现:ERROR : An error occurred w
4000
hile performing the step : ” Building kernel modules “. See /var/log/nvidia-installer.log for details.
问题原因:Linix系统的内核是在不断更新的,而安装的NVIDIA驱动是之前下载好的,没有更新,因此安装过程中无法创建内核。
解决方法:
Google上有人提出下载patch来解决,但是比较麻烦。最高效的方法是下载最新版的显卡驱动(选择对应的版本)。下载地址:http://www.nvidia.cn/Download/index.aspx?lang=cn.
相关文章推荐
- ubuntu启动spyder出现“An error occurred while starting the kernel"
- Ubuntu系统安装CUDA或NVIDIA驱动后出现循环登录问题的Solution (附:building kernel modules error)
- An internal error occurred during: "Building workspace". java.lang.StackOverflowError
- Error "An error occurred while Internet Connection Sharing was being enabled. (null)"
- Eclipse启动报错:An internal error occurred during: "Building workspace". GC overhead limit exceeded
- 使用Axis2报"An error occurred while completing process -java.lang.reflect.InvocationTargetException"处理
- eclipse里报:An internal error occurred during: "Building workspace". Java heap space)
- An internal error occurred during: "Building workspace". GC overhead limit exceeded
- The server reported an error while performing the "cvs commit" command
- 使用Axis2报"An error occurred while completing process -java.lang.reflect.InvocationTargetException"处理
- An internal error occurred during: "Building workspace". GC overhead limit exceeded
- ubuntu eclipse "An error has occurred. See the log file /home/mrsj/.eclipse/org.eclipse.plat"
- [原]Eclipse启动报错:An internal error occurred during: "Building workspace".
- eclipse里报:An internal error occurred during: "Building workspace". Java heap space)
- 使用Axis插件来从WSDL文件生成代码时"An error occurred while completing process -java.lang.reflect.InvocationTargetException"的错误
- Mac 从Time Machine的备份中恢复时发生."an error occurred while adding a recovery system to the destination disk“
- An internal error occurred during: "Checking tomcat state". Error while reading server.xml
- An internal error occurred during: "Building workspace". GC overhead limit exceeded
- An internal error occurred during: "Building workspace". java.lang.StackOverflowError
- [Ruby on Rails Issue] When Setting Sqlite version on the Gemfile, Show error "An error occurred while installing sqlite3 ",