You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@guacamole.apache.org by S-dn-Y <si...@hotmail.com> on 2018/08/07 13:31:53 UTC

Slow connection to hyper-v guest via Preconntion PDU (Enhanced Session Available?

Hi all,

So I just started using Guacamole. I like it a lot, specially since it can
be used to directly connect to my Hyper-V guests, without using the Hyper-V
manager console.
I'm looking to start using Guacamole as a gateway for my Hyper-V environment
at home and possible dynamically filling the configuration files with new
machines that I've added.

It's all working, connection to my hosts (non domain-joined) is really quick
and steady, I do like it a lot!
The last individual thing I cannnot get to work fluent is the speed to my VM
directly.
It connects, starts the console but the connection is just to slow to work
with.
The screen refreshes in strokes, loading it bit by bit.
When I click an item though, it looks to be reacting quickly but the screen
doesn't refresh fast enough (so it seems).

I've tried to connect via rdcman 2.7, using (sort of) the same way with the
Preconnection PDU and it reacts like it should, faster.

A little extra info:
Guacamole 0.9.14 installed on a PI 2.
Servlet Container: Tomcat8
Hyper-V host uses all SSD storage on an i7.
Hyper-V on Server 2016, fully patched.

So my questions:
- How can I troubleshoot these kind of things? The logs (syslog and tomcat
logs) don't show any strange things and the connection is working, it's only
slow..
- Is there a way to let Guacamole to use Enhanced Session as the Hypervisor
itself is able to do?

Any help would be much appreciated.

Best regards,
Sidney



--
Sent from: http://apache-guacamole-general-user-mailing-list.2363388.n4.nabble.com/

Re: AW: Slow connection to hyper-v guest via Preconntion PDU (Enhanced Session Available?

Posted by S-dn-Y <si...@hotmail.com>.
Joachim Lindenberg wrote
> I investigated this some time ago and discovered
> https://twitter.com/awakecoding/status/422447419771465728.
> Which tells me one has to pass the preconnection-blob as
> "6fcf01b7-b29e-43a0-9556-f7e0c77a226e;EnhancedMode=1". Actually I sent
> this
> information to this mailing list in March..

HOLY COW Joachim, please take the award for hero of the day today hahah.
This was actually entirely what I was looking for! I Googled quite a bit for
a parameter to pass along with the  preconnection-blob tot enable Enhanced
Session Mode (as I suspected that it could/should be possible). Google
didn't take me to the post you mentioned. Also I wasn't able to find it in
the mailing lists, which I did search for a solution. So, thank you some
much for sharing this! As I suspected this had something to do with the
limited console session after all and my screen refresh rate is now at a
level I am very happy with, considering it's on a PI ;) 


lp wrote
> A couple of thing s come to mind as part of the fault finding process:
> 
> (1) You might want to check that you have no performance-limiting 
> options set in the individual connections.
> 
> (2) You could try a connection to one of your guests directly from the 
> Pi itself and see how well that works?


Also, thank you for replying lp, I do appreciate it!
Before I noticed the reply from Joachim, I read your post and realized that
indeed I missed some simple steps in troubleshooting this (like building an
RDP directly to a guest). So I tried it and it was indeed faster, but it
wasn't really what I was after, cause when building labs I'd like to have to
option to not have to specify every lab guest with valid IP configurations.
Also I started looking more thoroughly at the resources from my PI, cause
you're right on the part that it's not the fastest thing one can buy (good
bang for the bucks though :-) ). The top and iostat utilities weren't
showing any limiting factors in CPU, disk IO or memory, so this wasn't the
problem. Enhanced Session was the solution here.

Have a good one guys!

Best regards,
Sidney






--
Sent from: http://apache-guacamole-general-user-mailing-list.2363388.n4.nabble.com/

AW: Slow connection to hyper-v guest via Preconntion PDU (Enhanced Session Available?

Posted by Joachim Lindenberg <jo...@lindenberg.one>.
Hi Sidney,
> - Is there a way to let Guacamole to use Enhanced Session as the
Hypervisor itself is able to do?
I investigated this some time ago and discovered
https://twitter.com/awakecoding/status/422447419771465728.
Which tells me one has to pass the preconnection-blob as
"6fcf01b7-b29e-43a0-9556-f7e0c77a226e;EnhancedMode=1". Actually I sent this
information to this mailing list in March..
In the meantime I can tell that availability of Enhanced Session Mode
depends on the Guest OS status. Usually it is not available during startup
or shutdown. If your systems are always on, then probably not a big issue.
In my extension I tried to disconnect and reconnect when I detect
availability, but this is not without error message shown to the end user. I
have not yet tried FailoverGuacamoleSocket. Actually it would probably be
best to address this in FreeRDP but no clue whether that is feasable. Maybe
one of the gurus can comment..
Joachim


Re: Slow connection to hyper-v guest via Preconntion PDU (Enhanced Session Available?

Posted by ivanmarcus <iv...@yahoo.com>.
Sidney,

I've no experience with using a Pi with Guacamole but a Pi 2 isn't the 
fastest thing around...

A couple of things come to mind as part of the fault finding process:

(1) You might want to check that you have no performance-limiting 
options set in the individual connections.

(2) You could try a connection to one of your guests directly from the 
Pi itself and see how well that works?

Cheers.



On 8/08/2018 1:31 a.m., S-dn-Y wrote:
> Hi all,
>
> So I just started using Guacamole. I like it a lot, specially since it can
> be used to directly connect to my Hyper-V guests, without using the Hyper-V
> manager console.
> I'm looking to start using Guacamole as a gateway for my Hyper-V environment
> at home and possible dynamically filling the configuration files with new
> machines that I've added.
>
> It's all working, connection to my hosts (non domain-joined) is really quick
> and steady, I do like it a lot!
> The last individual thing I cannnot get to work fluent is the speed to my VM
> directly.
> It connects, starts the console but the connection is just to slow to work
> with.
> The screen refreshes in strokes, loading it bit by bit.
> When I click an item though, it looks to be reacting quickly but the screen
> doesn't refresh fast enough (so it seems).
>
> I've tried to connect via rdcman 2.7, using (sort of) the same way with the
> Preconnection PDU and it reacts like it should, faster.
>
> A little extra info:
> Guacamole 0.9.14 installed on a PI 2.
> Servlet Container: Tomcat8
> Hyper-V host uses all SSD storage on an i7.
> Hyper-V on Server 2016, fully patched.
>
> So my questions:
> - How can I troubleshoot these kind of things? The logs (syslog and tomcat
> logs) don't show any strange things and the connection is working, it's only
> slow..
> - Is there a way to let Guacamole to use Enhanced Session as the Hypervisor
> itself is able to do?
>
> Any help would be much appreciated.
>
> Best regards,
> Sidney
>
>
>
> --
> Sent from: http://apache-guacamole-general-user-mailing-list.2363388.n4.nabble.com/