You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@guacamole.apache.org by "Mike Jumper (Jira)" <ji...@apache.org> on 2021/04/30 09:27:00 UTC

[jira] [Commented] (GUACAMOLE-1336) adding support for connecting to RDP admin/console session

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

Mike Jumper commented on GUACAMOLE-1336:
----------------------------------------

This is provided with the "console" parameter:

http://guacamole.apache.org/doc/gug/configuring-guacamole.html#rdp-session-settings

In the web interface, this parameter is displayed as the "Administrator console" checkbox:

!Screenshot 2021-04-30 2.25.22 AM.png|width=320px!

> adding support for connecting to RDP admin/console session
> ----------------------------------------------------------
>
>                 Key: GUACAMOLE-1336
>                 URL: https://issues.apache.org/jira/browse/GUACAMOLE-1336
>             Project: Guacamole
>          Issue Type: Improvement
>          Components: guacamole, guacamole-server, RDP
>    Affects Versions: 1.3.0, 1.4.0
>            Reporter: Christoph
>            Priority: Trivial
>         Attachments: Screenshot 2021-04-30 2.25.22 AM.png
>
>
> Hi,Hi,
>  The windows rdp client does allow to connect to the 2 built in server rdp "console" sessions without requiring to have RDP "CAL"-licenses, which is especially relevant in Terminal Server situations.  
>  
> The real problems arises when one tries to connect to a specific terminal server in an terminal server cluster, because in this case the connection is made to a random server, not the one specified.
>  
> This does not happen when the /admin switch in mstsc.exe is used.  
> Ive taken a look and freerdp has the ability to specify /admin too:  
> In FreeRDP\client\common\cmdline.c there is this block:  
> {code:java}
> CommandLineSwitchCase(arg, "admin")  
> {  
>    settings->ConsoleSession = enable;  
> }
> {code}
> Unfortunately guacamole does currently not have the ability to pass this flag before it calls freerdp_context_new.
> I think it could just be added here  https://github.com/apache/guacamole-server/blob/master/src/protocols/rdp/rdp.c 
> {code:java}
>  
>   freerdp* rdp_inst = freerdp_new();   
>   rdp_inst->PreConnect = rdp_freerdp_pre_connect;  
>   rdp_inst->Authenticate = rdp_freerdp_authenticate;  
> + rdp_inst ->settings-> ConsoleSession  = settings->console_session; 
> {code}
>  which of course would require to add console_session to guac_rdp_settings which in turn requires persisting the setting and even worse, extending the java user interface which is just beyond by abilities ... 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)