1
I have a VM running on some remote host. I do connect to it from my desktop PC over SSH through putty. I trigger a build process on that VM.
Now if i close the putty SSH session, why does the build process stops and the image does not get created?
However, if i spin off a VNC server instance on the VM and connect to it through VNC viewer from my desktop PC. Now i could access the VM's GUI environment. Now i launch a terminal. And start a build process.
Now even if i close the VNC client or shutdown my desktop PC, still the build process be happening.
How are they different in each of the scenario?
VNC servers can work both ways; on Linux it is common for them to have their own sessions (like RDP on Windows). But the question, I believe, was why "bash and all its subprocesses" get terminated in the first place with SSH? – user1686 – 2018-03-27T13:33:12.070
@grawity Because they are subprocesses of the SSH child which gets terminated? – davidgo – 2018-03-27T18:09:59.337