On Tuesday, 16 September 2025 23:25:35 British Summer Time Wol wrote: > On 16/09/2025 12:36, Michael wrote: > > I had deleted it in the past while I was testing sddm with X and Wayland > > and in both cases the log file was recreated when I logged in again. > > When you log in, the Xserver by default creates a new log file, > something like "~/.Xserver.0.log", and renumbers all the older logs to > .1, .2 etc. I think it went up to .9, giving you a maximum of ten log files. > > So logging out and back in *should* rotate the log for you. > > I've got a feeling it might be set not to create a new log file if it > can't find an old one, so deleting them all *might* stop new ones being > created. > > There's so many weird and wonderful ways these things can be done :-) > and XOrg is directly descended from XFree86, which is directly descended > from something else, so the code base probably goes back to the 80s - > and quite possibly beyond ... I wonder what standard practice was back then! > > Cheers, > Wol
The problem Dale came up to and this thread did not involve /var/log/ Xorg.0.log, but the sddm created file ~/.local/share/sddm/xorg-session.log.
signature.asc
Description: This is a digitally signed message part.

