Comment 40 for bug 678421

Revision history for this message
Gunnar Hjalmarsson (gunnarhj) wrote :

I created the file /etc/profile.d/wrong.sh with a sh syntax error. With lightdm 1.12.1-0ubuntu1 the reason for the login failure is logged in ~/.xsession-errors, but with the latest lightdm version it's not. So there is a regression with the fix of this bug.

The reason is that stderr is temporarily redirected to /tmp/config-err-XXXXXX. Actually, if you are thrown back to the login screen and log in via a console to investigate the reason, you can find the error message in that /tmp file. OTOH, that's not documented anywhere...

Right now I don't know how to best deal with this issue. Any advice appreciated.