On Tuesday 09 November 2021, James Pain wrote:
Howdy, all.
TLDR; what log files are important when troubleshooting an issue in TW.
I'm investigating an openSUSE TW KDE machine that's locking up daily while idle. Screen frozen, keyboard lights not responding, can only force off by holding power button. Even the instant reset button on the case doesn't work.
Systemd journal has seemingly nothing of significance. In a hunt to find other logs, I found in the docs a list of log files [0]. However /var/log/warn doesn't seem to exist in TW, and the others don't seem relevant, so I'm continuing a search.
If there was a similar page to the Leap logs page [0] for TW, maybe on the wiki, that's be useful. Maybe I can make one with the results of this thread.
Thank you in advance.
[0] https://doc.opensuse.org/documentation/leap/startup/html/book-startup/cha-tr...
I would agree with the other replies, if the hardware is pulling the system down, the system may not get an opportunity to write to the onboard log.
However, in the event of a such a crash, I would attempt to see if I could still ssh to the machine in case just X11 has hung. I would also check:
/home/foo/.local/share/sddm/xorg-session.log (replacing foo with who ever was logged in at the time) /var/log/Xorg.0.log /var/log/Xorg.0.log.old
If you lack a serial port, you might try a remote ssh session and leave it tailing the logs. You could also use an ssh session to run top/htop or similar to see if anything is pushing the machines thermals while it idles - in one past non-crashing example, someone found that the KDE clock on the screen saver was burning the CPU, disabling the clock option in settings fixed that one.
Cheers, Michael