Maybe you could also try this:
These suggested instructions apply to my case only and should be considered as a non-professional comment and therefore to be tried AT YOUR OWN RISK.
I am using ACER Aspire 4755g with Ubuntu 12.04.1 LTS.
I have also encountered this problem, and in my case, I had a problem with lightdm.
As a temporary measure, when you get to the login screen, press the keyboard sequence Ctrl+Alt+F1. This will get you to a terminal-like screen. It will show you something like this:
[COMPUTER NAME] login:
for example,
Aspire-4755g login:
type in your username and press Enter. This will result into something like this,
Aspire-4755g login: shiela
Password:
Enter your password, and, if correct, would show something like this:
Aspire-4755g login: shiela
Password:
Last login: Tue Jan 1 06:45:02 JPT 2013 on tty1
Welcome to Ubuntu 12.04.1 LTS (GNU/Linux 3.2.0-35-generic-pae i686)
* Documentation: https://help.ubuntu.com/
2 packages can be updated.
0 update are security updates.
shiela@Aspire-4755g:~s
Then, press the keyboard sequence Ctrl+Alt+F7 to get you back to the login screen. This procedure logs you into the system using the terminal-like window. You can now try to login to your account using the login screen. In my experience, I was able to reach the desktop. It seems that there is something wrong with the lightdm configuration that it was not able to log you in to the system.
Should you not make it to the desktop (as it was called in Windows), you may try adding an additional command by pressing the Ctrl+Alt+F1:
shiela@Aspire-4755g:~s ecryptfs-mount-private
press Enter, and it will ask you your password. Enter your password, then press the keyboard sequence Ctrl+Alt+F7 to get you back to the login screen (or to where you last left).
This command loads your Home folder, together with its contents, should you have chosen to encrypt the home folder upon installation of Ubuntu.
Once successful, you may try to review your lightdm configuration located on /etc/lightdm/lightdm.conf.
I have also written this suggestion in
Login screen loops unless you login as Guest