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

[jira] [Commented] (GUACAMOLE-613) Support specifying RDP Session ID

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

Alexey commented on GUACAMOLE-613:
----------------------------------

*Just FYI:*

Added RedirectSessionId option to guacamole server and then to rdp settings, but it did not work for me for some reason :( It still creates for me a new session.

Please take into account this moment, may be I did something wrong.

_P.S._ 

_Anyway, a flag in a group policies solved my problem:_

_Computer Configuration -> Administrative Templates -> Windows Components -> Remote Desctop Session Host -> Connections -> "*Restrict Remote Desktop Services users to a single Remote Desctop Services session*"_

> Support specifying RDP Session ID
> ---------------------------------
>
>                 Key: GUACAMOLE-613
>                 URL: https://issues.apache.org/jira/browse/GUACAMOLE-613
>             Project: Guacamole
>          Issue Type: Improvement
>          Components: RDP
>            Reporter: Alexey
>            Priority: Minor
>
> *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)