[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#287876: /etc/X11/Xsession: File $HOME/.xsession-errors grows very large



Package: xfree86-common
Version: 4.3.0.dfsg.1-8
Severity: normal
File: /etc/X11/Xsession

The file $HOME/.xsession-errors contains stdout and stderr of all
programs that are started through the graphical user interface,
e.g. through KDE.  On my notebook this file is now more than 370 MB
large.  (This is mostly because many KDE programs output many warning
messages.)

This is bad, because this file is invisible, and it is a surprise that
this file should grow so large.  This is a serious disk space hog!
This file should be automatically truncated when a new X session is
started.  Maybe one older version could be kept.

I looked at the script /etc/X11/Xsession which redirects stdout and
stderr.  There is no hook to truncate $HOME/.xsession-errors.  The
user's startup script $HOME/.xsession is only called later, and
truncating then is too late, i.e., it would already delete information
from the current session.

-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (990, 'testing'), (600, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.9-1-686
Locale: LANG=C, LC_CTYPE=de_DE@euro (charmap=ISO-8859-15)

Versions of packages xfree86-common depends on:
ii  debconf                       1.4.30.11  Debian configuration management sy
ii  debianutils                   2.8.4      Miscellaneous utilities specific t

-- debconf information:
  xfree86-common/experimental_packages:



Reply to: