After spent 30 minutes research on google, and found what is the possible issue and the solution which works for me.
Issue: lightdm might be the problem
Solution: change to use gdm
- Go to recovery mode.
- enable network.
- re mount / by the using this command: #mount -o rw,remount /
- remove the file in your home directory: rm /home/userName/.Xauthority*
- install gdm: apt-get install gdm.
- change to use gdm as the default login manager: dpkg-reconfigure gdm
- reboot
This solution works for me and I can login use my account. But the problem backs when I change back to use lightdm as default. So I have to go with gdm from now on to login successfully.
No comments:
Post a Comment