ubuntu14.04 login loop issue

无法进入图形界面的所有问题几乎都碰到了,可惜尝试所有办法,还是各种broken packages 等,无法重装 ubuntu-desktop 成功。 耽误了2天,果断决定重装系统算了。。尽管很多软件,很多配置,各种不舍。。。 可是,早重装也早搞定了。。 相关命令大体如下,以此纪念。心烦,未整理,比较杂乱~
sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade
sudo apt-get clean
sudo apt-get autoclean
sudo dpkg --configure -a
sudo -f

sudo apt-get install ubuntu-desktop ubuntu-session unity-control-center unity-settings-daemon xul-ext-webaccounts
sudo apt-get install --reinstall ubuntu-desktop
sudo apt-get install gnome-shell ubuntu-gnome-desktop
sudo apt-get install gnome-shell
sudo apt-get install ubuntu-session
sudo dpkg-reconfigure -a

sudo aptitude install <packagename>

sudo apt-get install --fix-broken
sudo apt-get autoclean
sudo apt-get autoremove
sudo apt-get -f install
sudo rm .Xauthority .
Changing .Xauthority ownership didn't work
chown username:username .Xauthority

Changing the user directory rights didn't work
sudo chmod -R u+w /home/[username]

I tried meddling with lightdm
dpkg-reconfigure lightdm

sudo mv ~/.Xauthority ~/.Xauthority.backup
sudo service lightdm restart

1. Ubuntu 14.04 預裝桌面 Unity 桌面需要 良好的 3D 支援
via的集成显卡 要如何支援 3D / 能否支援 3D ? 參閱
https://help.ubuntu.com/community/OpenC ... lways_work
3D doesn't always work

2. 如果折騰一番 一直沒成功 先考慮 安裝 支援 2D 的桌面
2-0. 額外安裝 Mate 桌面 
http://www.webupd8.org/2014/03/how-to-i ... buntu.html

每天一小步,人生一大步!Good luck~
原文地址:https://www.cnblogs.com/jkmiao/p/4520819.html