You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@guacamole.apache.org by "Nick Couchman (JIRA)" <ji...@apache.org> on 2018/08/20 14:40:00 UTC

[jira] [Commented] (GUACAMOLE-613) Implement connect/reconnect to the specific session id.

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

Nick Couchman commented on GUACAMOLE-613:
-----------------------------------------

Hmmm...do you know if the that session id is provided back to the RDP client in some part of the handshake?  Unless you wanted to statically set the session ID (which I'm guessing either isn't a good idea or isn't supported), you'd have to either have that handled automatically or know what it is in order to provide it back.  Seems like this should be handled internally.

> Implement connect/reconnect to the specific session id.
> -------------------------------------------------------
>
>                 Key: GUACAMOLE-613
>                 URL: https://issues.apache.org/jira/browse/GUACAMOLE-613
>             Project: Guacamole
>          Issue Type: Improvement
>          Components: guacamole
>    Affects Versions: 0.9.12-incubating
>         Environment: Guacamole 0.9.12
>            Reporter: Alexey
>            Priority: Major
>
> *The problem is:*
> on Terminal Servers it is possible to create several sessions for the same user. When I reconnect, then server creates anoter session (second one) for me. When I reconnect again, it creates third session. Reconnect again - it returns to the first session... and so on...
> I want to be reconnected to the same session.
> *The solution:*
> According to the rdp documentation (if I understood it correctly), it is possible to connect to specific session id.
> [https://msdn.microsoft.com/en-us/library/cc240445.aspx]
> in the section [2.2.1.3.5 Client Cluster Data (TS_UD_CS_CLUSTER)|https://msdn.microsoft.com/en-us/library/cc240514.aspx] is described that it is possible _“to request a connection to a given session identifier. ”._ Just need to pass RedirectedSessionID and set a flag REDIRECTED_SESSIONID_FIELD_VALID
> Quote:
> _“RedirectedSessionID (4 bytes): A 32-bit unsigned integer._ 
> _If the REDIRECTED_SESSIONID_FIELD_VALID flag is set in the Flags field, then the RedirectedSessionID field contains a valid session identifier to which the client requests to connect"_
>  



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