Bug 1060425 - [RFE] enable shared VNC session
Summary: [RFE] enable shared VNC session
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Virtualization Tools
Classification: Community
Component: virt-viewer
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Daniel Berrangé
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 1060854
TreeView+ depends on / blocked
 
Reported: 2014-02-01 15:31 UTC by Markus Stockhausen
Modified: 2021-09-01 06:45 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2021-04-21 14:21:13 UTC
Embargoed:


Attachments (Terms of Use)

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


Note You need to log in before you can comment on or make changes to this bug.