Method/Step
1 in the login screen that requires a password, press CTRL+ALT+F1 to enter the Tty1 terminal
2 Enter your own user directory, do not follow the online instructions CD ~, actually for cd/home/username/
3 with chmod instruction will. Xauthorty permissions pull up, restart
chmod 777. Xauthorty
Reason:
Suspicion is. Xauthorty permissions to get rid of, because chmod didn't look before the file permissions, so here can only guess
Related introduction
1, Xauthorty file Introduction (from the Internet, not personally verified)
StartX Startup scripts
Xserver start, read the file ~/. Xauthority, read the record corresponding to its display. When a client program that needs to be displayed starts the call Xopendisplay () also reads this file and sends the found magic code to Xserver. When Xserver validates this magic After code is correct, you agree to connect.
Observing the StartX script also sees that every time StartX runs, a new record is added to ~/with the add command that Xauth was used before calling Xinit. Xauthority, used for this run X use authentication
Linux x interface input password is correct, but unable to login system, command line interface can login