By default, when a VNC Viewer user disconnects from the Virtual Mode daemon their virtual desktop session is lost. If a VNC Viewer reconnects using the same credentials, a new virtual desktop session is created; their previous session does not persist.
To change this and persist sessions, you need to enable the ConnectToExisting parameter in one of the Virtual Mode daemon's configuration files. For example, using /etc/vnc/config.d/vncserver-virtuald as shown in the below code snippet.
echo 'ConnectToExisting=1' | sudo tee -a /etc/vnc/config.d/vncserver-virtuald
sudo systemctl restart vncserver-virtuald
Comments
Please sign in to leave a comment.