Xsession script append to ~/.xsession-errors

Michael V. De Palatis depalatis at gmail.com
Sat Sep 23 19:40:44 BST 2006


On 9/21/06, Lea Gris <lea.gris at noiraude.net> wrote:
> Hello,
>
> 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.
>
> The file in my home directory silently reached 15GB (Giga Bytes) during
> the last months until it ran out of disk space.
>
> I have manually edited /etc/X11/Xsession and changed the offending line to:
> exec >"$ERRFILE" 2>&1
>
> If there is already a bug report on-line please gives references.

In the meantime, a temporary solution would just be to symlink
~/.xsession-errors somewhere else, say to /tmp.

-- 
Mike



More information about the ubuntu-devel mailing list