The file xsession-errors in your home directory contains anything written to Standard Error by GUI-based programs. If such a program crashes or fails to start, it can be useful to look at the last few lines in this file to see if any messages shed light on the problem:
less ~/.xsession-errors
Availability: present under all modern Linux distros.
2 pages link to XSessionErrors: