stop logging into ~/.xsession-errors

reitenbach_pub at rapideye.de reitenbach_pub at rapideye.de
Sun Jul 8 23:52:33 PDT 2007


Hi,
Glynn Clements <glynn at gclements.plus.com> wrote: 
> 
> > Do I can tell the xorg to not write into that file if the size is larger 
than 
> > a defined maximum, or just not write in there at all?
> > I am running xorg-x11-6.9.0-50.17 on a suse 10.1.
> 
> This is implemented by the X startup scripts; e.g. on my system,
> /etc/X11/xdm/Xsession has:
> 
> for errfile 
in "$HOME/.xsession-errors" "${TMPDIR-/tmp}/xses-$USER" "/tmp/xses-$USER"
> do
> 	if ( cp /dev/null "$errfile" 2> /dev/null )
> 	then
> 		chmod 600 "$errfile"
> 		exec > "$errfile" 2>&1
> 		break
> 	fi
> done
> 

It looks a bit different in the suse startup script, but I found the place. 
Thanks for the hint.

kind regards
Sebastian




More information about the xorg mailing list