this works for me

rm ~/.xsession-errors
touch ~/.xsession-errors
sudo chattr +i ~/.xsession-errors


http://ubuntuforums.org/showthread.php?t=1946716