Sorry to disturb, I just noticed that we specify 1432x789 as width/height 
parameter for the resolution when sending request to guacd.

Thanks,
Yang

> On Dec 27, 2022, at 17:03, Yang Yang <[email protected]> wrote:
> 
> Hello,
> 
> We are creating a tool to send requests to guacd directly for RDP 
> connections. It worked OK and we could connect to RDP servers, but then found 
> the image was not sharp enough.
> 
> Turning on debug for guacd logs, we found strange resolution with our tool: 
> the width and height actually used was half of that from user, but DPI was 
> the same. Together with the auto scale in user browser, it can explain why 
> the image is not sharp as expected, but how could this happen? According to 
> source code for resolution change 
> (https://github.com/apache/guacamole-server/blob/master/src/protocols/rdp/settings.c#L790
>  
> <https://github.com/apache/guacamole-server/blob/master/src/protocols/rdp/settings.c#L790>),
>  the resolution shall not change if DPI stays the same, or the resolution 
> changes together with DPI.
> 
> guacd[321]: DEBUG:  User resolution is 2866x1578 at 192 DPI
> guacd[321]: DEBUG:  Using resolution of 1432x789 at 192 DPI
> 
>  We did not make any change to guacd, thus the problem shall be with our 
> tool. Could you help to shed some light on what could be wrong and what I 
> should collect/do/try? 
> 
> Thanks,
> Yang

Reply via email to