Hi all,
Yesterday I encountered some weird behaviour of my pretty new Linux Lite system. That was at 5:15 PM.
Anything like that had never happened before. So I´d very much like to know what you think about it.
Background:
I was looking at a certain product on amazon making use of the firefox
browser (which was running in a sandbox).
On the page there was a link to a pdf file which offered a short manual of the product. As I was interested in taking a look at it I clicked on the link and a new firefox window opened up presenting the manual (pdf).
Yet somehow the process of loading the pdf file got stuck and accordingly the whole system seemed to have frozen.
Taking a look at the clock in the status bar I realized it had stopped too.
I waited for about half a minute to see what would happen and suddenly I got logged out.
I was presented with a black window with some status messages, but I think these were some remnants from the login procedure (I have “noplymouth” configured in
/etc/default/grub: GRUB_CMDLINE_LINUX_DEFAULT="noplymouth"
I waited a bit longer and automatically was presented with the login screen again. I logged in and realized all running programmes of the preceding session were closed of course.
I was wondering: was I just logged out and in again or had it been a case of reboot altogether
So I took a look at:
last -x | grep -E '(reboot)|(shutdown)'
shutdown system down 5.15.0-58-generi Sun Feb 5 18:14 - 09:58 (15:43)
reboot system boot 5.15.0-58-generi Sun Feb 5 13:50 - 18:14 (04:24)
… which seems to indicate there was no reboot at 5:15 PM (17.15)
Then I looked at:
last -x
shutdown system down 5.15.0-58-generi Sun Feb 5 18:14 - 09:58 (15:43)
rosika tty7 :0 Sun Feb 5 17:16 - 18:14 (00:58)
rosika tty7 :0 Sun Feb 5 13:52 - 17:15 (03:22)
runlevel (to lvl 5) 5.15.0-58-generi Sun Feb 5 13:51 - 18:14 (04:23)
reboot system boot 5.15.0-58-generi Sun Feb 5 13:50 - 18:14 (04:24)
O.K. I hope to be right in deducing from that it must have been a logout and a subsequent login rather than a reboot.
Of course I was wondering what might have initiated this behaviour.
Why did the system freeze, logout and login again
Does anyone have any ideas at which log files to look
What I did was take a look at what lnav
had to say (I guess it´s using /var/log/syslog
by default) and
I also looked at journalctl -b
.
As the output is quite lengthy I put the relevant lines on: output of "journalctl -b" after sudden OS freeze, logout and login (Linux Lite 6.2.) - extract · GitHub
… in case anyone might want to take a look at it…
There are messages like
systemd[1532]: Stopped target Main User Target
in it.
Thanks a lot in advance for your help and opinions.
Many greetings from Rosika