0

I have a problem with the login to my user account on Ubuntu. After large and profound research in internet, I have found a lot of similar questions in internet (also here on se). How I understood, the main point is the .Xauthority file.

-rw-------  1 user user   52 Jun  3 13:24 .Xauthority

I already change "root" permission of .Xauthority to the user permisison (exactly like in the line above), but it doesn't help. Currently I can login only with my guest account. I have Ubuntu 14.04. I also tried another possibilities, but nothing help... Please, can somebody recommend some solution...

Guforu
  • 203

1 Answers1

1

Try logging into the virtual terminal (ctrl+alt+f1, ctrl+alt+f7 to get back). This brings up a login prompt, so enter your username followed by the password. Then you can lauch sudo startx -- :1 and see the errors there; the new desktop will be on terminal 8 (ctrl+alt+f8). Please post the errors reported by the startx command:

sudo -i
startx -- :1 &> /home/username/output.txt
chmod -rw-rw-r--
exit