My PC is a Laptop and I only work on an external screen while the PC is closed.
I still have several applications running under Gnome. Often it will be: Firefox multiple windows, Chrome, Chromium, Emacs and Gimp. All of them on several virtual workspaces.
And several times when I came out either from the previous day or by unplugging the PC that was on a TV to put it back on my external screen, after entering my password all the applications were closed, so I think either Gnome or the X server crashed...
Which file can I look at to find out what crashed? Maybe also a Gnome extension that I installed.