Hi all, please help me figure out this weird issue I've been having. Any time I leave my laptop idle for a long time, when I come back to it, it's back to the log in screen as in the laptop rebooted.
I am not sure which logs I should be looking for to figure out the source of the problem.
I guess it's worth confirming if it's been a logout or a reboot as well. If you open a terminal and type "uptime" does the time match when you booted up or after you left it alone for a while?
Check the output of:
dmesg -T
and have a look through:
/var/log/messages
I would be focussing on errors, warnings and/or terms like "reboot, shutdown, logout, timeout, idle, etc." to try to narrow it down what is happening and when.
Ooh, I might actually be able to help here. Try disabling screen sleep in your power options and see if that fixes it. It took me a long time to narrow my issues down to that. I still don't know why it happens.
And definitely let me know if that fixes the issue for you. I'd love to know it's not just me and my laptop.
If it really has rebooted, it could be some graphics driver issue causing it to freeze up. I had stuff like that on Nvidia graphics back in the day. Linux will reboot itself after a while if it freezes.
Yes, agreed with the other comment. Did you check uptime command ? In your system info it shows Uptime : 22 mins. In a terminal you can also type uptime or w
Is it possible that you're on a different TTY? The login screen used in Fedora has some problems with using the correct TTY if you don't use auto-login. If this happens again, try cycling through them, maybe your old session is still there.