You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@guacamole.apache.org by Shashank D <Sh...@spektrasystems.com> on 2023/05/18 11:22:03 UTC

Question Regarding Connections to Hyper-V VMs

Hello,

I have been successful in setting up my guacamole client, and RDP to  a virtual machine(VM)  seems to be working just fine. Now, inside the VM, I have enabled Hyper-V feature and through Hyper-V Manager, have deployed a Win10 OS Hyper-V VM.
From the Guacamole docs, it says I can make use of the pre-connection blob parameter and I use PowerShell to retrieve the VMID. Now, I try establishing a guacamole connection which worked just fine for the VM, but in this case to the Hyper-V VM present inside the VM using the Hyper-V VMID, and the pre-connection blob parameter over port 2179, this fails to work. So, is my understanding right based on the docs or am I missing something?


RE: Question Regarding Connections to Hyper-V VMs

Posted by Shashank D <Sh...@spektrasystems.com>.
It doesn’t show any error messages in the guacd logs, rather tried it out and worked, but here’s the strange thing:


  1.  Like how I use an URL to just RDP into my VM( not the Hyper-V VM) worked perfectly fine, I used the pre-connection blob with the Hyper-V VM ID, and instead of pointing to my Hyper-V VM, it was pointing to my VM.



  1.  Instead I tried doing this manually from the Guacamole client, and from here it is able to rdp into my Hyper-V VM over port 2179 with security set to vmconnect, not sure why with the URL it was directing me towards my VM, but if I do it on the Guacamole client, it is has no issues connecting directly to the Hyper-V VM


From: Michael Jumper<ma...@apache.org>
Sent: 18 May 2023 20:59
To: user@guacamole.apache.org<ma...@guacamole.apache.org>
Subject: Re: Question Regarding Connections to Hyper-V VMs

On 5/18/23 04:22, Shashank D wrote:
> Hello,
>
> I have been successful in setting up my guacamole client, and RDP to  a
> virtual machine(VM)  seems to be working just fine. Now, inside the VM,
> I have enabled Hyper-V feature and through Hyper-V Manager, have
> deployed a Win10 OS Hyper-V VM.
>
>  From the Guacamole docs, it says I can make use of the *pre-connection*
> blob parameter and I use PowerShell to retrieve the VMID. Now, I try
> establishing a guacamole connection which worked just fine for the VM,
> but in this case to the Hyper-V VM present inside the VM using the
> Hyper-V VMID, and the *pre-connection* blob parameter over port 2179,
> this fails to work. So, is my understanding right based on the docs or
> am I missing something?
>

Did you set the security mode of the connection to "Hyper-V / VMConnect"?

When the connection fails, what error is shown? What do you see in your
guacd logs?

- Mike

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@guacamole.apache.org
For additional commands, e-mail: user-help@guacamole.apache.org


Re: Question Regarding Connections to Hyper-V VMs

Posted by Michael Jumper <mj...@apache.org>.
On 5/18/23 04:22, Shashank D wrote:
> Hello,
> 
> I have been successful in setting up my guacamole client, and RDP to  a 
> virtual machine(VM)  seems to be working just fine. Now, inside the VM, 
> I have enabled Hyper-V feature and through Hyper-V Manager, have 
> deployed a Win10 OS Hyper-V VM.
> 
>  From the Guacamole docs, it says I can make use of the *pre-connection* 
> blob parameter and I use PowerShell to retrieve the VMID. Now, I try 
> establishing a guacamole connection which worked just fine for the VM, 
> but in this case to the Hyper-V VM present inside the VM using the 
> Hyper-V VMID, and the *pre-connection* blob parameter over port 2179, 
> this fails to work. So, is my understanding right based on the docs or 
> am I missing something?
> 

Did you set the security mode of the connection to "Hyper-V / VMConnect"?

When the connection fails, what error is shown? What do you see in your 
guacd logs?

- Mike

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@guacamole.apache.org
For additional commands, e-mail: user-help@guacamole.apache.org