TMUX sessions are the way to go. You can have a tmux session not get killed in your VNC. You can always start where you left off