On Sunday, 14 September 2025 09:56:09 British Summer Time Dale wrote: > Howdy, > > I was doing my backups which includes config files. I noticed one file > was shall we say, large. The better term might be HUGE. This is the > culprit. > > > > root@Gentoo-1 / # ls /home/dale/.local/share/sddm/xorg-session.log > -rw-r--r-- 1 dale users 13,905,915,860 Sep 14 03:33 > /home/dale/.local/share/sddm/xorg-session.log > root@Gentoo-1 / #
Mine is 32K. > I added the commas to the file size. Obviously one shouldn't try to > open a file that size with Kwrite or anything. It's just to large. > Heck, it took several minutes for the tail command to get this. > > root@Gentoo-1 / # tail -n 100 /home/dale/.local/share/sddm/xorg-session.log > Service ":1.6973" unregistered > QSocketNotifier: Invalid socket 5 and type 'Read', disabling... > ark.kerfuffle: Could not detect mimetype from content. Using > extension-based mimetype: "text/x-log" > root@Gentoo-1 / # > > As you can see, I asked for the last 100 lines but it only gave me > that. Obviously something is off with that file and maybe sddm as well. > > First, I'd like to make that file MUCH smaller, empty would be OK. > Second, I'd like to stop it from getting that big again. I tried using > echo to make it only one line. It went something like this. > > echo "" > /home/dale/.local/share/sddm/xorg-session.log > > I thought it worked at first but by the time my backup script got to it, > it was back again, hugely back. Now it doesn't do anything even though > I'm root. I can't seem to empty this file or really see what is in it > either. > > Can someone share a better way to fix this file? Oh, I googled. The > info I found was people using systemd. They used commands I don't have > since I use openrc. Why not just delete it? Then xorg will start afresh. -- Regards, Peter.

