Fixing xsession-errors