Monday, April 29, 2024
 Popular · Latest · Hot · Upcoming
1
rated 0 times [  1] [ 0]  / answers: 1 / hits: 417  / 2 Years ago, mon, july 4, 2022, 7:03:36

I have 11.04 installed in my computer, and I decided to install 12.04 from CD in a new partition, but having only one /home partition shared by both systems.



Installation went ok, but when I enter my password the screen turns black and returns to the login screen half a second later.



I can log in as guest. I can also login at the cmd prompt (going to tty with Alt+Ctrl+F1) with my normal user credentials. When logged in as guest I can also install programs using my normal account password.



LinuxIsMyFriend had the same issue, and he answered the issue himself saying



When I created my new user (with the same name as the old one) I got the correct home directory but wrongUID and GID. When I changed it to the correct values everything worked again!



I'd like to do what LinuxIsMyFriend did, but I do not how. My question is, what should I do to set the proper UID and GID in the 12.04 install?


More From » login

 Answers
2

I ran out that bug this morning, and it seems that I had some file under my /home/ dir wich were associated to root ownership (in this case, .Xauthority and other ones). I changed owner of .Xauthority to my username and it works now.






While I wrote this I saw other similar posts on this website, it's not a 12.04 problem, but the bad guy is always this .Xauthority. Deleting it or changing owner seems working



@see Can't login after installing 11.10


[#38921] Tuesday, July 5, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
horicgly

Total Points: 36
Total Questions: 126
Total Answers: 104

Location: Iceland
Member since Thu, Dec 1, 2022
1 Year ago
;