[ https://issues.apache.org/jira/browse/GUACAMOLE-1641?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17575218#comment-17575218 ]
Nick Couchman commented on GUACAMOLE-1641: ------------------------------------------ [~mbeynon]: A couple of things come to mind for the prompting...you'll need to make sure that the connection is far enough along that the owner has already joined it. The code that ultimate gets called is here: https://github.com/apache/guacamole-server/blob/6ab82446bbca9fabdd332c0488642dcdf965ccb0/src/libguac/user.c#L319-L326 While I suppose it could be a race condition with the code having not actually read the value into memory and stored it away properly, I'm more inclined to think that the issue is that the owner hasn't been associated with the connection, yet, and, in the call above the user variable is NULL and so the check just returns 0 indicating lack of support for prompting in the client. As a crude method of doing it you could try checking that client->__owner isn't NULL, or loop until it isn't NULL, something like that. > Add vSphere support to VNC protocol > ----------------------------------- > > Key: GUACAMOLE-1641 > URL: https://issues.apache.org/jira/browse/GUACAMOLE-1641 > Project: Guacamole > Issue Type: Improvement > Components: guacamole > Reporter: Mike Beynon > Priority: Minor > > vSphere bundles a VNC server into their ESXi hypervisor, and tunnels the VNC > protocol over a web socket to their client. I'm working now to add support > to guacd to (1) take a vm object id name, (2) use the vSphere API to > establish a session with vCenter and request a webmks ticket, and (3) have > guacd connect to the appropriate ESXi server and port to setup the websocket > and then pass binary frames containing the VNC protocol. The new parameters > for the guacd protocol will mean there's changes to guacamole-client also for > the webapp and the db storage for connection parameters. > I plan to do this on the open source version. > It's related to GUACAMOLE-591, except it will not show the entire VM catalog. > Instead my changes will provide the mechanism in guacd, and later work can > add the catalog. > Any suggestions how to proceed? Things to do or things to avoid doing? > Should I start with the latest apache or glyptodon source? -- This message was sent by Atlassian Jira (v8.20.10#820010)