ubuntu 圖形界面進不去怎麼辦?

文章來源 https://blog.csdn.net/nikoong/article/details/54235130

第一步、Ctrl+Alt+F1進終端,log in之後,輸入watch nvidia-smi,查看英偉達的顯卡驅動還在不在。如果有顯卡信息顯示,轉到第三步,如果沒有轉第二步。


第二步、安裝Nvidia顯卡驅動,按部就班:

sudo service lightdm stop
sudo apt-get remove --purge nvidia-*
sudo apt-get install ubuntu-desktop
sudo rm /etc/X11/xorg.conf
echo 'nouveau' | sudo tee -a /etc/modules
cd進驅動所在文件夾

sudo sh NVIDIA-Linux-x86_64-346.59.run(之後要自己選擇一下選項)

sudo reboot


第三步:如果,桌面還是不能顯示,則重裝桌面。

sudo apt-get install --reinstall ubuntu-desktop 
sudo apt-get install unity 
sudo apt-get purge nvidia* bumblebee* 
sudo apt-get install nvidia-prime 
sudo shutdown -r now


DISPLAY=:0 unity
dconf reset -f /org/compiz/
unity
setsid unity


到這裏基本都能解決問題。


參考:

顯卡安裝:http://www.sanesee.com/article/install-graphics-card-driver-on-ubuntu-14

重裝桌面:http://askubuntu.com/questions/454779/unity-will-not-boot-load-after-upgrade-from-13-10-to-14-04
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章