[pkg-fso-maint] Bug#531194: nodm: .xsession-errors grows and grows

arne anka debian at ginguppin.de
Sat May 30 16:35:57 UTC 2009


Package: nodm
Version: 0.4-1
Severity: normal

just recently i discovered that my ~/.xsession-errors has been growing
to several mb of size.
on my desktop computers .xsession-errors never gets that big -- though i
am tm not sure if it is created from scratch on login or deleted when
exceeding a limit.
anyway, since the most notable difference between my desktops and the fr
nodm vs kdm is, i guess, nodm is responsible for not cleaning out
..xsession-errors.

in /etc/X11/Xsession at or about line 77 there is
exec >>"$ERRFILE" 2>&1
which seems to be responsible -- replacing >> with > should help. 
for some discussion regarding this simple fix see
> https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/60448

gdm otoh does the purging on its own. in daemon/slave.c a method exists
called
wipe_xsession_errors
that cleans out .xsession-errors and is called in
gdm_slave_session_start

no clue. inhowfar that would fit into nodm (and where, nodm_session?).



-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: armel

Kernel: Linux debian-gta02 2.6.28-20090105.git69b2aa26 #1 PREEMPT
Locale: LANG=en_DK.UTF-8, LC_CTYPE=en_DK.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash





More information about the pkg-fso-maint mailing list