Comment 6 for bug 678421

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

I agree on the goal you describe, Egon, which is why I made an attempt to fix it. However, while the "run ~/.profile twice" proposal was rejected due to its disadvantages, it's the only way I was able to figure out that would prevent syntax errors from stopping the startup.

I leave it to you to decide if you want to go for Martin's idea and convert this bug to rather be about error messages. In the case of a syntax error, the error message currently is logged in .xsession-errors (as the last entry). Have no idea, though, how to make it trigger e.g. a zenity dialog.

Unassigning myself from this bug in the hope that someone with more experience from exception handling in dash will give it a shot.