Bug 1060425

Summary: [RFE] enable shared VNC session
Product: [Community] Virtualization Tools Reporter: Markus Stockhausen <mst>
Component: virt-viewerAssignee: Daniel Berrangé <berrange>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: juzhou, lsteeger, xen-maint
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-04-21 14:21:13 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1060854    

Description Markus Stockhausen 2014-02-01 15:31:33 UTC
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,...)
...

Comment 2 Daniel Berrangé 2021-04-21 14:21:13 UTC
This is implemented in the 10.0 release