SSH session 23 November 2019, 15:53:54 Hello,I've installed OpenSSH and can connect in to the Artix box fine. If I close the connection (or lose connectivity) then anything I started is lost, not just the things I would expect - for example, if I am using screen then when I reconnect there are no sessions, or if I start vnc server the process dies when SSH disconnects. This isn't how things worked for me in Gentoo but I don't know where the difference is - is it to do with the OpenSSH implementation, or the Bash profile, or something else? Thanks.
Re: SSH session Reply #1 – 23 November 2019, 16:29:22 I've actually noticed a similar problem myself. When I explicitly put things in the background and detach it from the terminal, the job is still killed when I close the ssh connection. I think maybe some package is configured/has some compilation flag that does this behavior (elogind?). Ordinarily, yeah it's not supposed to happen. 1 Likes
Re: SSH session Reply #2 – 23 November 2019, 16:36:21 Set KillUserProcesses=no in /etc/elogind/logind.conf 1 Likes
Re: SSH session Reply #3 – 23 November 2019, 17:01:45 Thank you phoenix_king_rus! That seems to have done the trick (after a reboot). This will make my life a lot easier. Much appreciated.
Re: SSH session Reply #4 – 23 November 2019, 21:13:05 Quote from: phoenix_king_rus – on 23 November 2019, 16:36:21Set KillUserProcesses=no in /etc/elogind/logind.confHah thanks. I knew it was an option like that somewhere. 1 Likes