昨天晚上使用ubuntu的过程非常的happy,临走的时候也不是什么强制关机的之类的用的是
sudo shutdown -h now
可是今天早上来的时候发现进不去系统了,输入密码后就一闪而过然后回到输入密码的界面,我还在骂什么破系统一点都不nice,后来才发现是自己太虾米了,也不知昨天误操作什么系统文件了,总之以下面的方法不到10秒解决问题。
I have exactly the same problem and I fixed it by the following solution (found here):
Press CTRL+ALT+F1
Log in with you user name and password
Run the following command: sudo chown -R $USER:$USER $HOME
Press CTRL+ALT+F7
Try to log in