Make sure that the ~/.xprofile is exe for Owner/Group/Other before starting the session.