Description of problem: If two administrators need access to the same VNC console of a virtual machine they can do it with the vnc option "shared access" (e.g. TightVNC). virt-viewer currently only opens exclusive sessions so the second login kicks out the first login. Version-Release number of selected component (if applicable): virt-viewer 0.6.0 Implementation idea: The first thing to accomplish is a new flag in the .vv file that allows to open a shared or exclusive connection. E.g. SHARED=0/1 After reading that file virt-viewer has to set the shared option for opening the connection depending on that flag. If I read it right that must be somewhere in virt-viewer-session-vnc.c ... vnc_display_set_shared_flag(self->priv-vnc,sharedFlag); ret = vnc_display_open_host(self->priv-vnc,...) ...
https://gitlab.com/virt-viewer/virt-viewer/-/merge_requests/38
This is implemented in the 10.0 release