[ 
https://issues.apache.org/jira/browse/GUACAMOLE-312?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16752519#comment-16752519
 ] 

Michael Jumper commented on GUACAMOLE-312:
------------------------------------------

While historically we haven't been able to progress on this due to libvncclient 
not providing an arbitrary transport, it looks like this may be doable with 
libvncclient after all. Checking the various connection functions implemented 
as part of libvncclient, all seem to simply assign a file descriptor to 
{{client->sock}}. We may be able to have more control over the way connections 
are established if we avoid using {{rfbInitClient()}} and instead invoke the 
various other functions that {{rfbInitClient()}} itself uses to connect.

Assuming the above is a stable approach, libssh2 can be leveraged to provide 
the tunnel, with the actual I/O being handled through read/write calls to 
libssh2 within some thread handling read/write to a socketpair associated with 
libvncclient's {{client->sock}}.

> VNC over SSH
> ------------
>
>                 Key: GUACAMOLE-312
>                 URL: https://issues.apache.org/jira/browse/GUACAMOLE-312
>             Project: Guacamole
>          Issue Type: New Feature
>          Components: VNC
>            Reporter: Michael Jumper
>            Priority: Minor
>
> {panel:bgColor=#FFFFEE}
> *The description of this issue was copied from 
> [GUAC-223|https://glyptodon.org/jira/browse/GUAC-223], an issue in the JIRA 
> instance used by the Guacamole project prior to its acceptance into the 
> Apache Incubator.*
> Comments, attachments, related issues, and history from prior to acceptance 
> *have not been copied* and can be found instead at the original issue.
> {panel}
> It would be useful to provide access to VNC over SSH as an option.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to