I am using Proxmox 7.0 to run an LXC container with Debian 11 as guest. When connecting via ssh to the guest, I can install and run screen as usual. I can detach and re-attach as usual. But if I disconnect the SSH connection and reconnect, my screen session is gone. Any idea why?

I used another ssh connection to look via htop at the processes and saw, that screen is terminated immediatley after I close the ssh session.

  • Is systemd in your container configured to kill user processes on logout? That should be disabled by default on Debian, but check /etc/systemd/logind.conf
    – cas
    Dec 7, 2021 at 2:35
  • it only contains [Login] - every other line is commented out
    – masgo
    Dec 7, 2021 at 7:54


You must log in to answer this question.

Browse other questions tagged .