Since I had problems with unity-greeter I had installed lightdm-gtk-greeter and it keeps looping into the login screen. 14.04 ubuntu

I have several solutions: removing .Xauthority file, reinstalling lightdm-gtk-greeter, ubuntu-desktop but no success. When I remove the .Xauthority file and do lightdm restart the .Xauthority file is created again.

Here are the log files from /var/log/lightdm/lightdm.log and /var/log/lightdm/x-0-greeter.log

http://paste.ubuntu.com/8826033/ http://paste.ubuntu.com/8826044/

Please need your help to login.


Contents of ~/.xsession-errors:

Script for ibus started at run_im.
Script for auto started at run_im.
Script for default started at run_im.
/usr/sbin/lightdm-session: 5:/home/altaf/.xinputrc: Syntax error: newline unexpected

It shows us that the problem is caused by a syntax error in the file ~/.xinputrc. That file was created by im-config, but has apparently been edited accidentally. Rather than trying to fix the syntax error, it's easiest to simply delete ~/.xinputrc. It will be re-created when needed.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.