Ubuntu 13.04 - can't login to Unity, keep going back to login screen with all users

today I've updated openssl and libssl (automatic update). After reboot I can't login with any user (even with Guest or new one) into X. I've tried with installing gdm, gnome-session-fallback - no luck.

On login screen (no matter if it's lightdm or gdm) I type password, it tries to login, then screen goes black and returns to login screen.

I've found somewhere solution with Xauthority and xsession-errors, but in .xsession-errors I don't have anything but two lines:

Script for cjkv started at run_im. Script for default starter at run_im.

I'm using Linux for about 10 years, but I can't find anything in /var/log that can point me to solution. Reinstalling Ubuntu IS NOT A SOLUTION for me.

Someone can help me?


Solution 1:

I had the same problem with Ubuntu 14.04. Guest user could login, but not me.

I'd deleted .Xauthority for my user and reboot. It gives some problems alerts during the boot but it worked fine.

Ctrl+Alt+F1, login in shell, and then rm /home/<user>/.Xauthority. Then sudo reboot.

Thanks davmp

Solution 2:

Solution from OP:


I've found the solution. Somehow automatic updates installed libssl1 for amd64 AND i386.

I've noticed this after I've tried to ssh to another pc - ssh just quits without any message. I've reinstalled the amd64 version of libssl and now everything works.

Solution 3:

I just had the same symptoms on my 13.04 machine. I was able to log in remotely and run the following:

sudo apt-get update && sudo apt-get upgrade

This resolved the problem for me - did not even have to reset.