Early this morning to open the computer, found that the system is not always logged in, initially suspected that someone has moved my computer, because the last Friday after work back, the company has some overtime.
Later found that it should be a system problem, only to recall the last Friday to work in the configuration of the Java environment, modify the/etc/profile configuration file, and then find ways to delete the previous changes, the specific method is as follows:
1. In the Login interface press: ALT+CTRL+F3, enter the user name in the terminal, password
2. Enter the/etc/profile file, modify or delete the relevant configuration
3. Restart your computer
This is good, because/etc/is the system configuration directory, profile belongs to the system startup read files, so there is a problem, the system is likely to start, especially like in the company, there are many important documents and projects in the computer, if because of their own careless, and a moment can not find a solution, The loss of the file is disastrous.
Linux system stuck in login interface, login failure problem