Linux normal users cannot log in to the graphical interface

Source: Internet
Author: User

http://blog.csdn.net/pipisorry/article/details/39755083

Ordinary users cannot login to the Linux GUI, only the root user can log in to the GUI (normal user, user name and password entered correctly, click Login, 2 seconds later returned to the login screen, that is, cannot log in.) )

Normal User A login GUI will automatically return to KDM. Regular users can log on at the command line

LIGHTDM Loop at Login interface


1 There is no user home to do disk quotas, some words to check the user use has not reached the limit

2 Do not make a quota, log in from the terminal, the user home under the graphic of the hidden configuration files are deleted (. gconf,. GCONFD,. Gnome,. Gnome2,. Gnome2_private,. gstreamer-0.10 And so on) try logging in again. There are some configuration files, such as log in to the graphical interface when the abnormal shutdown, it may cause configuration information error, can not log in, so you have to delete those files, and then log in, the next file will be regenerated

3 if not, in the most violent way, the user home backup, and then the home inside the file empty, including hidden files, and then put the/etc/skel directory of the hidden files CP to the user home, attention to permissions, if it is root CP, to change the permissions (with Chown- R put the modified home directory owner of all the files into your normal users), the user's own account CP is OK, so you should be able to log into the

4 No, just think about other things. Put the user directory to temporarily move the other location, and then landing on it, but the original directory moved back again, you can not login.

5 The ~/. Xauthority Erase it.

Your preferences files is currently in use. (If you were logged in the same account from another computer,the other login session is probably using your preferences F Iles,) You can choose to continue,but is aware that other login sessions may become temporarily confused. If you is not logged in Elsewhere,it should is harmless to continue
Cancel Continue
Cancel exits to the character interface, continue prompts as follows:
Your system administrator to resolve the follow problem:
Could not resolve the address "xml:readwrite:/home/gavin/.gconf" in the configuration file "/etc/gconf/2/path"
Couldn ' t resolve address for configuration source:
Can ' t read from or write to the XML root directory in the address "xml:readwrite:/home/gavin/.gconf"
Close


6 The reason is that the permissions on the path are incorrect. Fix as follows:
chmod 755/usr/{lib,include,share}, the reason may be that the permissions set at the time of packaging is not correct, but specifically which package, need to query.

/tmp This directory permissions are not correct, as long as the permissions of this directory to change to 777, you can! (Be sure to change the permissions correctly!) can switch to a normal user to try to access this directory can! )

7./home/username/. Xauthority permissions become root, change them to 777 or delete



from:http://blog.csdn.net/pipisorry/article/details/39755083

Ref: Unable to login to Ubuntu GUI, enter account after Flash.

Ubuntu Input Password login and then jump back to the login screen

StartX Analyze



Linux normal users cannot log in to the graphical interface

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.