What does .xsession-errors contain? There’s the possibility the root cause might also be generating messages and logging them in some fashion to the journal and/or Xorg.
Οk! Ι made a mistake i followed the tips in the article.
Can someone write me how to undo the wrong choices and how to properly control my problem?
Τhank you.
if you just prevent the file to change by chattr command, I think just removing the .xsession.errors file and restarting the computer will fix it. then you must look at the newly created .xsesion.errors file for repeated error messages which make it bulky.
Thank you for the kind answer. My English are poor and try to find out how to restore the .xsession-errors file to original position.
I delete it but after restart came back with same look.
Have anyone the kindly write to me with what commands will I restore the file to its original state?
Thanks in advance!
The rm command deleted the file but in the next boot it appeared again with the link icon.
.xsession-errors.old appears without the link and has 0 bytes.
Anyway i thank you for “no Arch expert” approach to my problem.
Have a nice day !
As far as I know, the symlink to /dev/null must disappear after a restart. Maybe you created a script or a cron task or added a line to a script that runs every startup (maybe to the very script that creates .xsession.errors log) to create this symlink everytime?
I saw a good solution — using logger to put this where you’d expect logs & do log rotation — but it involved editing /etc/X11/Xsession which doesn’t exist on my system. /etc/lightdm/Xsession exists, but it doesn’t refer to the error file at all.
If you use suspend a lot, this file will just keep growing. Mine was 51 GB! You probably can also just delete it, but if it’s in use when your cron job runs that might not work.