Enter the username and password for ubuntu login and then switch back to the logon page.

Source: Internet
Author: User

After logging on to ubuntu, enter the user name and password and jump back to the logon interface RT. I installed an input method in Ubuntu 12.04 one day and logged on again after logging out. Enter the correct user password on the logon page. The screen is black for a period of time and you will be redirected back to the logon page. The restart is invalid. Search online. The solution to this problem is found. Follow his methods to solve the problem. Symptom: after entering the password on the Ubuntu login interface, the black screen will pop up and text such as check battery state will pop up again. Cause: the. Xauthority file owner in the main directory is changed to root, so that the. Xauthority file cannot be obtained when users log on. Note: Xauthority is a startx script record file. When Xserver is started, read the file ~ /. Xauthority. Read the corresponding display record. When a client program is started to call XOpenDisplay (), it also reads the file and sends the magic code to Xserver. When Xserver verifies that this magic code is correct, it will agree to the connection. Observe the startx script and you can see that every time startx runs, a new record is added to ~ by using the xauth add command before xinit is called ~ /. Xauthority, used to run X this time to use the authentication solution: we need to change the. Xauthority owner to the login user (or simply delete. Xauthority, this method

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.