Today, I typed startx in the command line and restarted the system. after entering the password, I jumped to the page and returned to the logon page. Enter the password repeatedly
Today, I typed startx in the command line and restarted the system. after entering the password, I jumped to the page and returned to the logon page. Keep entering the password in this loop and cannot enter the system.
Then I had to use my mobile phone to find a solution on the Internet.
The solution is as follows:
1. press Ctrl + Alt + F3 to log on to the console.
2, cd ~
3, rm-rf. Xaut *
4. press Ctrl + Alt + F7 to return to the logon page. enter the password to log on.
Why can't I get in?
A file generated when startx is executed on tty. The ubuntu login tool is lightdm. this login tool finds that there is a file in your Directory and it will be an endless loop, allowing you to enter your password without limit.
What is the stratx command used?
Startx is used to start X windows services. The principle of using it with caution in Ubuntu is still unclear. //??? 2014-05-03
The. Xauthority directory is automatically generated in the/home directory after running, resulting in the above problem.