Xsession script append to ~/.xsession-errors
Sam Morris
sam at robots.org.uk
Sun Sep 24 00:09:42 BST 2006
On Thu, 21 Sep 2006 09:50:08 +0200, Lea Gris wrote:
> I ran into out of disk space in /home because of infinitely growing
> ~/.xsession-errors files.
>
> It is caused by the /etc/X11/Xsession run script at line 94:
>
> exec >>"$ERRFILE" 2>&1
>
> This cause errors to be infinitely appended to the file making it grow
> without limits.
On my Debian machine it seems that after .xsession-errors grows to
195 KB, further output is discarded. The file ends with "...Too much
output, ignoring rest...". I just did some grepping and the string is
present in /usr/bin/gdm (from version 2.14.5-1). See daemon/slave.c line
~349. This does not seem to be a Debian-specific patch... so I'm not
sure why this doesn't happen for you.
--
Sam Morris
http://robots.org.uk/
PGP key id 1024D/5EA01078
3412 EA18 1277 354B 991B C869 B219 7FDB 5EA0 1078
More information about the ubuntu-devel
mailing list