I created a new user account from System Settings
> User Accounts
.
I can log in to new user account from the terminal but I can't log in to user account from GUI.
When I try to log in to the newly created user account from GUI it doesn't show any error and goes back to the login window. (When I type a wrong password it shows the incorrect password error but when I enter the right password, it simply goes back to the login window without any message.)
I am using Ubuntu 14.04.4 LTS
~/.Xauthority