Linux——Ubuntu下显卡驱动的安装

CTRL+ALT+F1

近日在安装Utuntu下的显卡驱动,由于一直出现如下的问题:



  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.
大意就是,我现在正在使用一个X服务器(什么玩意),如果需要安装驱动的话需要关闭,百度搜索了半天,按照命令就是解决不了。于是,我便使用谷歌进行查找答案:

最终的解决方法如下:原始链接

  • Hit CTRL+ALT+F1and login using your credentials.
  • kill your current X server session by typing 
    sudo service lightdm stop

     or 
    sudo lightdm stop

  • Enter run level 3 by typing 
    sudo init 3

     and install your *.run file.
  • You might be required to reboot when the installation finishes. If not, run sudo service lightdm start or sudo start lightdm to start your X server again

1:CTRL+ALT+F1 进入命令行

2:sudo service lightdm stop 关闭X-server

3:sudo init 3 进入init 3,定位到需要安装的驱动文件下:sudo bash NVIDIA-**.run

4:shutdown now 重启计算机即可,不行的话在此重复操作


--这样就行了,驱动安装后的节目,明显和原来不是一个画风

enter image description here




  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.
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值