Re: xsession errors
On 15:44 Thu 15 Oct , Jan Willem Stumpel wrote:
I think I had this problem many years ago. I dont remember if it was in my old
redhat days or after I moved to debian in ?2003 or so. I remember I had a 50G or 100G .xsession-errors file or
something like that.
The solution is simple. You must change your logging for X. This is controlled
by the file
/etc/X11/Xsession
you will see the variable
ERRFILE=$HOME/.xsession-errors
and you should see the line
exec >>"$ERRFILE" 2>&1
now this says it keeps adding to the file
exec >>"$ERRFILE" 2>&1
if you change it to
exec >"$ERRFILE" 2>&1
then when you restart X it is wiped out.
or else you can just do
ERRFILE=/dev/null
and never collect errors at all ...
But that is not wise...
Mitchell
Reply to: