2

After I updated to Ubuntu 14.04, I am not able to login to Ubuntu.

Whenever I enter my password, my screen flashes for a couple of seconds and goes back to the login screen. I have tried over and over again but the same thing happens.

I can't login through the guest session either - whenever I click login, the screen flashes and goes back to the login screen again.

What do I do? I'm really confused and stuck and I need to fix this problem REALLY soon!

Thanks!

2 Answers2

0

I had the same issue and solved it by correcting the ownership of the file: ~/.Xauthority. Just open a terminal and enter:

sudo chown `whoami`.`whoami` -R .Xauthority
Willi
  • 618
0

[ I realize this is a long dead thread, I am primarily providing an answer for my future self to find after updating Ubuntu and having it once again break the install ]

If you are running Ubuntu within a VM, you most likely need to reinstall your virtual machine tools.

Ubuntu update/upgrade will have clobbered the video drivers. I removed the Ubuntu installed nVidia* packages, however that was quite likely not necessary.

You could try removing/correcting permissions on the ~/.Xauthority file, however I suspect you will not see and change in behavour.

General steps for re-installing virtual machine tools is as follows:

  1. start guest OS (Ubuntu)
  2. select "Reinstall VM Tools"
  3. login in via console (Ctl-Alt-F1 from the GUI login screen)
  4. sudo mount /dev/cdrom /mnt
  5. cd /mnt ; sudo ./install
  6. follow prompts - repair/re-install as prompted.
  7. reboot.
Daniel
  • 101