My desktop just shut down, and I'm not sure where to look for logs to figure out why
Hey guys. I've been having an ongoing problem with my desktop where, when it goes into suspend, it'll shut down instead of waking back up. Not a hard shutdown, either, but what appears to be a proper shutdown where everything gets nicely SIGTERM'd and everything.
Now, I'm saying all that just in case it's related to what happened today. I stepped away from my machine after having it play Youtube videos through the night and came back to it about an hour later to find that it had been shut down. There was no indication of an improper shutdown, either, since the usual "hey, you hard powered off and now your disk needs to be fsck'd" messages weren't there. The logs stop right before when I assume the shutdown happened, but there's nothing in them that really sticks out as a possible reason for why it would have happened.
Getting to the point, is there somewhere other than journalctl and dmesg that I should be looking to try and figure out what happened? I'm on Fedora 43, and I'm happy to provide whatever logs are necessary. I'm really hoping it's not a hardware fault, but I've had other problems that seem to indicate the PCIe port on my motherboard starting to go bad such as inexplicable static on one monitor and my GPU disconnecting whenever my cat jumps down from my lap too hard.


doodoo_wizard
in reply to ayyo • • •kumi
in reply to doodoo_wizard • • •journalctl -xb-1i believe gives it for last boot (if it even gets that far?)Also
dmesg.And just in general, to see recently changed logfiles to look at after a reboot:
sudo find /var/log -mmin -3for files modified within last 3 minutes for example.Encephalotrocity
in reply to ayyo • • •ayyo
in reply to Encephalotrocity • • •kumi
in reply to ayyo • • •I'm not sure about your CPU but I've had times when similar issues play out differently on different distros (I guess due to differences in kernel buikdconf, modules, or drivers) so while it's a long-shot you could give that a go.
Try also the LTS and Zen kernel flavors.
I'd try Arch, Debian, Fedora (or perhaps some other rpm-based alternative that doesnt deprecate so quickly)
Like someone else said, anyone who hasn't had your exact issue will need logs and details to give more helpful advice.