On Mi, 28 oct 20, 15:28:37, David wrote: > On Wed, 28 Oct 2020 at 00:45, Andrei POPESCU <andreimpope...@gmail.com> wrote: > > > On my system the file is rotated (renamed to .xsession-errors.old), on > > every login as far as I can tell. > > > Didn't find (yet) what is doing this (using lightdm, LXDE and minimal > > Xorg). > > I had a curiosity about this, because some people are reporting that they > need to manage their growing .xsession-errors file by various methods, > but I never have seen this. > > I see the same behaviour as Andrei, and I also use parts of LXDE. > > I investigated, guided by this teaching from Reco: > https://lists.debian.org/debian-user/2020/04/msg00583.html > > I found that the process that renames the file to .xsession-errors.old > is the binary /usr/bin/lxsession owned by the user, with the parent > process lightdm owned by root. > > /usr/bin/lxsession is a component of LXDE, so this won't apply to > users of other GUI providers. > > The rename occurs when the user logs in from lightdm. The filename > .xsession-errors is defined in the script file /etc/X11/Xsession Indeed, I tried 'startx' and the file wasn't rotated, so it must be something about how lightdm starts the LXDE session.
Kind regards, Andrei -- http://wiki.debian.org/FAQsFromDebianUser
signature.asc
Description: PGP signature