In Linux mint 21.3 cinnamon, in Firefox 122 when I click on a link to something the desktop session shuts down & I'm back at the login screen, first time it happened I was on the Google chrome download page, I clicked the download for Linux link, second time I was logged into a banking site, there was a "You have an unread message" link, on both occasions it was immediate shutdown, I installed chromium from the software centre just to test just to test it & the same thing happened, so I'm guessing it's not browser specific. What could be causing this?
Thanks.