Linux Ubuntu 16.04 启动后 桌面崩溃

Ubuntu16.04 启动后通过输入密码后  桌面闪退


可以尝试通过下面的命令更新unity配置


sudo apt-get update sudo apt-get upgrade sudo apt-get install --reinstall unity-settings-daemon sudo reboot


重启后应该恢复正常


如果还是不行可能是驱动问题, 可使用prime-select禁用或启用显卡


sudo prime-select intel禁用显卡


 sudo reboot 重启系统


重启后顺利的进入系统了


如果永久性的解决这个问题, 可以重新安装显卡驱动, 操作如下:


sudo apt purge nvidia-*
sudo add-apt-repository ppa:graphics-drivers/ppa
sudo apt update
sudo apt install nvidia-364






I use Nvidia's prime-select command to enable and disable the dedicated graphics card. (After using Ctrl+Alt+F1 and logging into the console) I disabled my GT 540M graphics card with sudo prime-select intel followed by sudo reboot. Upon reboot I was able to log into Unity.

Obviously this is more of a short-term fix and as the other answers have indicated, perhaps the long term solution will be related to replacing or upgrading the Nvidia drivers or allowing the existing unsigned driver to run by disabling secure boot. But hopefully this at least gets you to the desktop!

Edit: The Nvidia driver can now be installed using the official PPA, per this answer:

sudo apt purge nvidia-*
sudo add-apt-repository ppa:graphics-drivers/ppa
sudo apt update
sudo apt install nvidia-364