Comment 1 for bug 678421

Revision history for this message
Gunnar Hjalmarsson (gunnarhj) wrote : Re: Error in ~/.profile halts the X startup

I had to set the -e option (errexit) in Xsession to make a ~/.profile error interrupt the startup. AFAICT that option is not set in the original Xsession script in GDM for Ubuntu.

Anyway, maybe there are still cases where a ~/.profile error may lead to the behavior you describe. The linked branch contains an idea for a fix that would handle ~/.profile and ~/.xprofile in a safer way.

If the solution is considered sensible, I suppose it should be forwarded upstream. Will await feedback before doing so.