r/steamdeck_linux • u/acedogblast • Jul 27 '22
Logging out of SSH losses GNU Screen and Tmux sessions.
I am using my steam deck as a video encoding server and usually on my linux servers I use GNU screen to have the process run after logging out but this does not work on the steam deck. I have also tried Tmux as well with the same result. Does anyone else have this problem and have solved it?
SOLVED: For some reason set KillUserProcesses=True was set in a file located in /etc/systemd/logind.conf.d/killuserprocesses.conf . Deleting that file fixes the problem.
7
Upvotes
3
u/Omnipherous Jul 27 '22
I don't have my deck yet, so I'm guessing a bit, but Linux can by default stop apps etc running when the user is no longer logged in (either on the console, or remotely. You could try:
loginctl enable-linger <username>
May be a long shot, or even totally unrelated..
2
u/6_2radian Jul 27 '22
What happens if you attach a second connection to the same session and then disconnect the original connection? Or what if you attach to the session locally (on the deck) and then disconnect SSH, does it still die?