Thank you for your answer, I tried to use an SSH tunnel between my local 
machine and the guacd port which is connected to the VNC machine, I manage to 
send a start application instruction but I get the display on my local machine, 
probably i'm not correctly setting the display to the VNC connection display. 
I'm not sure I know how to do that. I'm sorry if this is a little bit out of 
context. 

----- Mail original -----
De: "Nick Couchman" <[email protected]>
À: "user" <[email protected]>
Envoyé: Mardi 1 Août 2023 17:58:43
Objet: Re: Guacamole instruction to open an application remotely

On Tue, Aug 1, 2023 at 9:41 AM Fatima Ezzahra Jaber
<[email protected]> wrote:
>
> Hello,
> I am using a guacamole client that i created using a django application. My 
> goal is to send an instruction to guacd telling it to open an application 
> like Firefox or VScode within the VNC session in the current connection, is 
> there a guacamole instruction that I can customize to be able to do this, or 
> can I create an extension with new guacamole instructions knowing that i'm 
> using my own application and implementation for the guacamole client.

No, I don't think this is readily doable. First, such an instruction
does not currently exist within Guacamole. While that is something
that could be implemented, probably relatively easily, the bigger
issue is that I do not believe such an instruction exists in the VNC
protocol - so, even if Guacamole could send such an instruction from
the client to guacd, there'd be no way for guacd to relay such an
instruction on to the VNC server, because VNC doesn't have any
mechanism, that I am aware of, to handle such conversations. VNC does
have something called gii (General Input Interface) that _might_ be
able to accomplish this, but it's not really intended for this
scenario and is more intended to support input controls (joysticks,
digital pens, etc.) that don't conform to the standard Mouse or
Keyboard interface.

That's not to say it's completely impossible - I suppose you could
probably do something like:
* Establish both VNC and SSH connection to the system, some how
correlating the two.
* Use the SSH channel to send start applications, setting the display
to the VNC connection display.

That'd be a bit more complicated in terms of coding - adding the SSH
capability and then being able to somehow correlate the VNC and SSH
sessions. But it seems like it's plausible in absence of some sort of
in-band signaling mechanism with VNC.

-Nick

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
-- 
JABER Fatima Ezzahra 
2A SEOC Grenoble-INP Phelma 
Tél : +33 (0) 6 05 93 50 23

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to