Closing terminal kills background processes
by Turbocapitalist from LinuxQuestions.org on (#6Q6EX)
I'm running XFC4-Terminal 1.0.4 on Xfce 4.18 on on Linux Mint 21.3 and its behavior has changed recently regarding background processes.
Lately, or maybe I'm just noticing it now, when I close the terminal's window by clicking on the close widget on the window then sometimes all the processes running in the background which were launched via that terminal are killed. Prefixing the command with nohup prevents that but is not the original behavior.
If I recall this pernicious behavior has its origins in systemd and was inflicted once before but rolled back due to complaints.
How may I restore the system's original behavior where background processes stay alive even after the terminal window from which they were launched gets closed?
Lately, or maybe I'm just noticing it now, when I close the terminal's window by clicking on the close widget on the window then sometimes all the processes running in the background which were launched via that terminal are killed. Prefixing the command with nohup prevents that but is not the original behavior.
If I recall this pernicious behavior has its origins in systemd and was inflicted once before but rolled back due to complaints.
How may I restore the system's original behavior where background processes stay alive even after the terminal window from which they were launched gets closed?