There is lots of question all around different forums but nobody has the right solution.
I tried the following things on Debian based system:
- in dir /etc/X11/ commented
"ERRFILE=$HOME/.xsession-errors"
the Xsesssion file. Unfortunately did not solved my issues. - Also replaced
exec >>"$ERRFILE" 2>&1
toexec >> /dev/null 2>&1