Are you actively using it when it logs you out?
This sounds more like X or Wayland (whichever you use) crashing.
It would also simply be the whole machine.
After you log back in run "uptime" and see if the machine crashed or if
X/Wayland crashed.
If the machine did not crash then run this:
grep
Recent releases (I"m running F35) seem to log me out at certain
times, regardless of what I'm doing. I want not ever to get logged out.
How and where do I set that?
--
Beartooth Staffwright, Not Quite Clueless Power User
Remember I know little (precious little!) of where up is.