The default configuration of the X server in Debian keeps a log of all the console output of the programs a user runs from their X session. It also keeps this log indefinitely. This is quite clearly a design mistake, because even ignoring badly behaved programs (those which are needlessly noisy are indisputably buggy), enough legitimate errors will eventually eat your disk. Plus the unjustifiable assumption that all programs out in the wild will be well-behaved, which is a nice hope but contrary to reality.
Sadly, this behaviour is also an ancient bug that has been, it would seem, forgotten about.
Anyway, here's a relatively simple method to fix that. As root, edit /etc/X11/Xsession. Just below the ERRFILE=$HOME/.xsession-errors line, add this:
ERRFILEOLD="$ERRFILE".old if [ -f "$ERRFILE" ]; then set +e mv -f "$ERRFILE" "$ERRFILEOLD" 2> /dev/null set -e fi
Each time the user logs in …