I use two graphical virtual terminals (sessions) on a debian desktop with KDE (the ones you switch between using chvt or Ctr-Alt-F7, F8, etc.). I notice that processes in open windows in the inactive session are (often) paused, including processes running in terminal windows, or in tmux inside a terminal window. (This seems to apply to e.g. browsers as well.)
How can I disable the pausing behavior? The processes running in terminal windows should have their stdin/stdout connected throughout, so I don't think this is related to SIGTTIN/SIGTTOU as explained here: Why do backgrounded processes sometimes stop spontaneously?
The two virtual terminals / sessions are listed as such and they use X11:
$ loginctl SESSION UID USER SEAT TTY 115 1001 #### seat0 5 1000 #### seat0 $ loginctl show-session 5 -p Type Type=x11 This question may be related but there is no answer there, either: https://www.linuxquestions.org/questions/linux-newbie-8/kde-plasma-wayland-rendering-is-paused-on-inactive-workspaces-how-to-unpause-4175744331/
loginctl, I don't know if that's enough information. I updated the question with these details.