ubuntu 图形界面进不去怎么办?
转载于: http://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
如果是其它linux系统,则要安装相应的桌面文件
比如 deepin
sudo apt-get install --reinstall deepin-desktop-environment
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