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