guacamole-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (GUACAMOLE-39) If the VNC parameter enable-sftp is set to true but the SFTP server is not connectable, the system can not be accessed with VNC
Date Fri, 27 May 2016 03:50:12 GMT

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

ASF GitHub Bot commented on GUACAMOLE-39:
-----------------------------------------

Github user mike-jumper commented on a diff in the pull request:

    https://github.com/apache/incubator-guacamole-server/pull/11#discussion_r64854416
  
    --- Diff: src/common-ssh/guac_ssh.h ---
    @@ -101,6 +101,33 @@ guac_common_ssh_session* guac_common_ssh_create_session(guac_client*
client,
             const char* hostname, const char* port, guac_common_ssh_user* user);
     
     /**
    + * Used within VNC and RDP connections to create an SFTP connection using the
    + * given hostname and port, and authenticates as the given user. If an error
    + * occurs while connecting or authenticating, the Guacamole client will log
    + * the error encountered and continue without aborting. The user object provided
    + * must eventually be explicitly destroyed, but should not be destroyed until the
    + * entire VNC or RDP session is terminated.
    + *
    + * @param client
    + *     The Guacamole client that will be using SSH.
    + *
    + * @param hostname
    + *     The hostname of the SSH server to connect to.
    + *
    + * @param port
    + *     The port to connect to on the given hostname.
    + *
    + * @param user
    + *     The user to authenticate as, once connected.
    + *
    + * @return
    + *     A new SSH session if the connection and authentication succeed, or NULL
    + *     if the connection or authentication were not successful.
    + */
    +guac_common_ssh_session* guac_common_ssh_create_secondary_session(guac_client* client,
    --- End diff --
    
    Why define a whole new function for this?


> If the VNC parameter enable-sftp is set to true but the SFTP server is not connectable,
the system can not be accessed with VNC
> -------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: GUACAMOLE-39
>                 URL: https://issues.apache.org/jira/browse/GUACAMOLE-39
>             Project: Guacamole
>          Issue Type: Bug
>          Components: RDP, SSH, VNC
>    Affects Versions: 0.9.9
>            Reporter: Michael Jumper
>
> {panel:bgColor=#FFFFEE}
> *The description of this issue was copied from [GUAC-1509|https://glyptodon.org/jira/browse/GUAC-1509],
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}
> If a connection is configured to have SFTP support for file transfers with VNC, and the
SFTP server goes down or is not connectable for any reason, the system can not be accessed.
The Home, Reconnect, Logout dialog is displayed.
> From the guacd log:
> {code:none}
> Mar  3 10:20:25 guacd-server guacd[18646]: Protocol "vnc" selected
> Mar  3 10:20:25 guacd-server guacd[18646]: Connection ID is "$7ee12ae4-2a1d-4d4a-994c-ea2a4c4f9c02"
> Mar  3 10:20:25 guacd-server guacd[18646]: VNC server supports protocol version 3.8 (viewer
3.8)
> Mar  3 10:20:25 guacd-server guacd[18646]: We have 1 security types to read
> Mar  3 10:20:25 guacd-server guacd[18646]: 0) Received security type 2
> Mar  3 10:20:25 guacd-server guacd[18646]: Selecting security type 2 (0/1 in the list)
> Mar  3 10:20:25 guacd-server guacd[18646]: Selected Security Scheme 2
> Mar  3 10:20:25 guacd-server guacd[18646]: VNC authentication succeeded
> Mar  3 10:20:25 guacd-server guacd[18646]: Desktop name "Windows8"
> Mar  3 10:20:25 guacd-server guacd[18646]: Connected to VNC server, using protocol version
3.8
> Mar  3 10:20:25 guacd-server guacd[18646]: VNC server default format:
> Mar  3 10:20:25 guacd-server guacd[18646]:   32 bits per pixel.
> Mar  3 10:20:25 guacd-server guacd[18646]:   Least significant byte first in each pixel.
> Mar  3 10:20:25 guacd-server guacd[18646]:   TRUE colour: max red 255 green 255 blue
255, shift red 16 green 8 blue 0
> Mar  3 10:20:28 guacd-server guacd[18646]: Unable to connect to any addresses.
> Mar  3 10:20:28 guacd-server guacd[18646]: Connection did not succeed
> {code}
> From the guacamole log:
> {code:none}
> 10:20:28.502 [http-bio-8081-exec-3] INFO  o.g.g.net.basic.TunnelRequestService - User
"admin" connected to connection "sftptest".
> 10:20:28.515 [http-bio-8081-exec-3] INFO  o.g.g.net.basic.TunnelRequestService - User
"admin" disconnected from connection "sftptest". Duration: 13 milliseconds
> {code}
> If the enable-sftp param is changed to false, or deleted, this connection succeeds.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message