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

Nick Couchman commented on GUACAMOLE-1563:
------------------------------------------

[~wenn] and [~dmike2022]: I actually have a prototype of this functionality 
working. Here's what I've done so far:
* Added a "uri" instruction to both guacd and guacamole-client that allows 
guacd to send a URI, of any type, to guacamole-client, that will be opened by 
the browser (guacd sends the instruction with a URI, guacamole client uses 
"window.open()" in JavaScript)
* Created a RDP virtual channel in guacd's RDP support that handles the 
communication of URIs from the remote server to guacd. This leverages the above 
"uri" instruction in Guacamole to pass the information from remote server to 
client browser.
* Wrote a simple application in Visual Studio 2022 (Community Edition) that has 
two components - the RDP Virtual Channel service and then a small "Helper" 
executable that can be registered as the default handler for URIs and will pass 
the URI to the virtual channel.

I'm not sure if there's any interest from the other devs ([~mjumper] 
[~jmuehlner]?) for adding this feature to the overall project, - if so, I'm 
willing to do some more work on it and submit a pull request; if not, I'm happy 
to just provide the links to my repos and you guys can take a look at it. 

> Question: Open link in external webbrowser
> ------------------------------------------
>
>                 Key: GUACAMOLE-1563
>                 URL: https://issues.apache.org/jira/browse/GUACAMOLE-1563
>             Project: Guacamole
>          Issue Type: Task
>          Components: guacamole
>            Reporter: peter
>            Priority: Minor
>
> I'd like to open a link clicked within an RDP session to open in the external 
> browser. In contrast to GUACAMOLE-1534 I'm in full control of what happens 
> when a link is clicked. So I could, for example, fire a custom event within 
> the RDP session that contains the link url.
> Can you point me in the direction of what needs to be done for this? For 
> example:
>  * Create an event listener 
> [https://guacamole.apache.org/doc/gug/event-listeners.html|http://example.com/]
>  * ? Create a tunnel ?
>  * Register a custom event
>  * Fire that event within the session
>  * Catch it and retrieve the event payload
> Thanks in advance!



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to