You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@guacamole.apache.org by "Fernando C. de Urien y Muñiz" <fu...@nts-solutions.com> on 2022/01/11 09:28:22 UTC

Problems connecting to RDP server Weston with rdp backend

Hello,

We are using Guacamole to connect via RDP to a Weston Wayland component
that uses the "rdp backend"
The Guacamole client connects to the Weston but we can only see a black
screen. We suspect that the mouse input works despite not being able to see
it because when we randomly clicked the black screen, we were able to
launch apps.
We have tried different configurations but we could not get them to work.
Same config/installation works when connecting to Windows10 RDP and XRDP.
Other protocols as SSH work when connecting to the same box.
Using Microsoft client "mstsc.exe" works correctly.

Could someone help us? Any hints to check?

*Guacamole server:*
ubuntu 20.04
guacd 1.3.0
freerdp libraries: 2.2.0+dfsg1-0ubuntu0.20.04.2

*Guacamole client:*
guacamole client 1.3.0

*Server backend*
weston 9.0.91
wayland-protocols 1.24

*Guacd log when connecting to weston:*

Dec 17 11:18:46 ip-172-33-33-54 guacd[437236]: Creating new client for
protocol "rdp"
Dec 17 11:18:46 ip-172-33-33-54 guacd[437236]: Connection ID is
"$90917542-58fb-44af-8023-105171552fd7"
Dec 17 11:18:46 ip-172-33-33-54 guacd[437456]: Processing instruction: size
Dec 17 11:18:46 ip-172-33-33-54 guacd[437456]: Processing instruction: audio
Dec 17 11:18:46 ip-172-33-33-54 guacd[437456]: Processing instruction: video
Dec 17 11:18:46 ip-172-33-33-54 guacd[437456]: Processing instruction: image
Dec 17 11:18:46 ip-172-33-33-54 guacd[437456]: Parameter "console" omitted.
Using default value of 0.
Dec 17 11:18:46 ip-172-33-33-54 guacd[437456]: Parameter "console-audio"
omitted. Using default value of 0.
Dec 17 11:18:46 ip-172-33-33-54 guacd[437456]: Parameter "disable-auth"
omitted. Using default value of 0.
Dec 17 11:18:46 ip-172-33-33-54 guacd[437456]: Security mode: TLS
Dec 17 11:18:46 ip-172-33-33-54 guacd[437456]: User resolution is 1024x768
at 96 DPI
Dec 17 11:18:46 ip-172-33-33-54 guacd[437456]: Parameter "dpi" omitted.
Using default value of 96.
Dec 17 11:18:46 ip-172-33-33-54 guacd[437456]: Using resolution of 1024x768
at 96 DPI
Dec 17 11:18:46 ip-172-33-33-54 guacd[437456]: Parameter "read-only"
omitted. Using default value of 0.
Dec 17 11:18:46 ip-172-33-33-54 guacd[437456]: Parameter "client-name"
omitted. Using default value of "Guacamole RDP".
Dec 17 11:18:46 ip-172-33-33-54 guacd[437456]: Parameter "enable-wallpaper"
omitted. Using default value of 0.
Dec 17 11:18:46 ip-172-33-33-54 guacd[437456]: Parameter "enable-theming"
omitted. Using default value of 0.
Dec 17 11:18:46 ip-172-33-33-54 guacd[437456]: Parameter
"enable-font-smoothing" omitted. Using default value of 0.
Dec 17 11:18:46 ip-172-33-33-54 guacd[437456]: Parameter
"enable-full-window-drag" omitted. Using default value of 0.
Dec 17 11:18:46 ip-172-33-33-54 guacd[437456]: Parameter
"enable-desktop-composition" omitted. Using default value of 0.
Dec 17 11:18:46 ip-172-33-33-54 guacd[437456]: Parameter
"enable-menu-animations" omitted. Using default value of 0.
Dec 17 11:18:46 ip-172-33-33-54 guacd[437456]: Parameter
"disable-bitmap-caching" omitted. Using default value of 0.
Dec 17 11:18:46 ip-172-33-33-54 guacd[437456]: Parameter
"disable-offscreen-caching" omitted. Using default value of 0.
Dec 17 11:18:46 ip-172-33-33-54 guacd[437456]: Parameter
"disable-glyph-caching" omitted. Using default value of 0.
Dec 17 11:18:46 ip-172-33-33-54 guacd[437456]: Parameter "color-depth"
omitted. Using default value of 16.
Dec 17 11:18:46 ip-172-33-33-54 guacd[437456]: Parameter "disable-audio"
omitted. Using default value of 0.
Dec 17 11:18:46 ip-172-33-33-54 guacd[437456]: Parameter "enable-printing"
omitted. Using default value of 0.
Dec 17 11:18:46 ip-172-33-33-54 guacd[437456]: Parameter "printer-name"
omitted. Using default value of "Guacamole Printer".
Dec 17 11:18:46 ip-172-33-33-54 guacd[437456]: Parameter "enable-drive"
omitted. Using default value of 0.
Dec 17 11:18:46 ip-172-33-33-54 guacd[437456]: Parameter "drive-name"
omitted. Using default value of "Guacamole Filesystem".
Dec 17 11:18:46 ip-172-33-33-54 guacd[437456]: Parameter "drive-path"
omitted. Using default value of "".
Dec 17 11:18:46 ip-172-33-33-54 guacd[437456]: Parameter
"create-drive-path" omitted. Using default value of 0.
Dec 17 11:18:46 ip-172-33-33-54 guacd[437456]: Parameter "disable-download"
omitted. Using default value of 0.
Dec 17 11:18:46 ip-172-33-33-54 guacd[437456]: Parameter "disable-upload"
omitted. Using default value of 0.
Dec 17 11:18:46 ip-172-33-33-54 guacd[437456]: Parameter "enable-sftp"
omitted. Using default value of 0.
Dec 17 11:18:46 ip-172-33-33-54 guacd[437456]: Parameter "sftp-hostname"
omitted. Using default value of "10.11.0.18".
Dec 17 11:18:46 ip-172-33-33-54 guacd[437456]: Parameter "sftp-port"
omitted. Using default value of "22".
Dec 17 11:18:46 ip-172-33-33-54 guacd[437456]: Parameter "sftp-username"
omitted. Using default value of "".
Dec 17 11:18:46 ip-172-33-33-54 guacd[437456]: Parameter "sftp-password"
omitted. Using default value of "".
Dec 17 11:18:46 ip-172-33-33-54 guacd[437456]: Parameter "sftp-passphrase"
omitted. Using default value of "".
Dec 17 11:18:46 ip-172-33-33-54 guacd[437456]: Parameter
"sftp-root-directory" omitted. Using default value of "/".
Dec 17 11:18:46 ip-172-33-33-54 guacd[437456]: Parameter
"sftp-server-alive-interval" omitted. Using default value of 0.
Dec 17 11:18:46 ip-172-33-33-54 guacd[437456]: Parameter
"sftp-disable-download" omitted. Using default value of 0.
Dec 17 11:18:46 ip-172-33-33-54 guacd[437456]: Parameter
"sftp-disable-upload" omitted. Using default value of 0.
Dec 17 11:18:46 ip-172-33-33-54 guacd[437456]: Parameter "recording-name"
omitted. Using default value of "recording".
Dec 17 11:18:46 ip-172-33-33-54 guacd[437456]: Parameter
"recording-exclude-output" omitted. Using default value of 0.
Dec 17 11:18:46 ip-172-33-33-54 guacd[437456]: Parameter
"recording-exclude-mouse" omitted. Using default value of 0.
Dec 17 11:18:46 ip-172-33-33-54 guacd[437456]: Parameter
"recording-include-keys" omitted. Using default value of 0.
Dec 17 11:18:46 ip-172-33-33-54 guacd[437456]: Parameter
"create-recording-path" omitted. Using default value of 0.
Dec 17 11:18:46 ip-172-33-33-54 guacd[437456]: Resize method: none
Dec 17 11:18:46 ip-172-33-33-54 guacd[437456]: Parameter
"enable-audio-input" omitted. Using default value of 0.
Dec 17 11:18:46 ip-172-33-33-54 guacd[437456]: Parameter "gateway-port"
omitted. Using default value of 443.
Dec 17 11:18:46 ip-172-33-33-54 guacd[437456]: Parameter "disable-copy"
omitted. Using default value of 0.
Dec 17 11:18:46 ip-172-33-33-54 guacd[437456]: Parameter "disable-paste"
omitted. Using default value of 0.
Dec 17 11:18:46 ip-172-33-33-54 guacd[437456]: Parameter "wol-send-packet"
omitted. Using default value of 0.
Dec 17 11:18:46 ip-172-33-33-54 guacd[437456]: User
"@7d10b8fb-44f2-4f08-a10d-4757fc419ec0" joined connection
"$90917542-58fb-44af-8023-105171552fd7" (1 users now present)
Dec 17 11:18:46 ip-172-33-33-54 guacd[437456]: Client is using protocol
version "VERSION_1_3_0"
Dec 17 11:18:46 ip-172-33-33-54 guacd[437456]: Loading keymap "base"
Dec 17 11:18:46 ip-172-33-33-54 guacd[437456]: Loading keymap "en-us-qwerty"
Dec 17 11:18:46 ip-172-33-33-54 guacd[437456]:
freerdp_connect:freerdp_set_last_error_ex resetting error state
Dec 17 11:18:46 ip-172-33-33-54 guacd[437456]: Support for CLIPRDR
(clipboard redirection) registered. Awaiting channel connection.
Dec 17 11:18:46 ip-172-33-33-54 guacd[437456]: Support for static channel
"rdpdr" loaded.
Dec 17 11:18:46 ip-172-33-33-54 guacd[437456]: Support for static channel
"rdpsnd" loaded.
Dec 17 11:18:46 ip-172-33-33-54 guacd[437456]: Local framebuffer format
 PIXEL_FORMAT_BGRX32
Dec 17 11:18:46 ip-172-33-33-54 guacd[437456]: Remote framebuffer format
PIXEL_FORMAT_RGB16
Dec 17 11:18:47 ip-172-33-33-54 guacd[437456]: primitives autodetect, using
optimized
Dec 17 11:18:47 ip-172-33-33-54 guacd[437456]:
freerdp_tcp_is_hostname_resolvable:freerdp_set_last_error_ex resetting
error state
Dec 17 11:18:47 ip-172-33-33-54 guacd[437456]:
freerdp_tcp_connect:freerdp_set_last_error_ex resetting error state
Dec 17 11:18:48 ip-172-33-33-54 guacd[437456]: CLIPRDR (clipboard
redirection) channel connected.
Dec 17 11:18:48 ip-172-33-33-54 guacd[437456]: SVC "rdpdr" connected.
Dec 17 11:18:48 ip-172-33-33-54 guacd[437456]: SVC "rdpsnd" connected.

Thanks in advance

Fernando Urien

Re: Problems connecting to RDP server Weston with rdp backend

Posted by "Fernando C. de Urien y Muñiz" <fu...@nts-solutions.com>.
Hi Nick,
Thnaks! It looks like it could be related. According to ms documentation:
>>>The Stream Surface Bits Command is used to transport encoded bitmap data
destined for a rectangular region of the primary drawing surface from an
RDP server to an RDP client.
>>>
https://docs.microsoft.com/en-us/openspecs/windows_protocols/ms-rdpbcgr/b2218638-3cf9-4f2f-be61-b096ec3c8dc5

could be that guacamole is sending cmdType 0x0000 when it should be:
0x0006??

>>> cmdType (2 bytes): A 16-bit, unsigned integer. Surface Command type.
This field MUST be set to CMDTYPE_STREAM_SURFACE_BITS (0x0006).

anyway to change this vía configuration or "simple" patching so I can try
it?

thanks,
Fernando

El lun, 17 ene 2022 a las 17:51, Nick Couchman (<vn...@apache.org>)
escribió:

> On Fri, Jan 14, 2022 at 5:02 AM Fernando C. de Urien y Muñiz <
> furien@nts-solutions.com> wrote:
>
>> Hi again,
>> I made more test. I wanted to be sure that the guacamole setup was
>> correct so I tested guacd (1.3.0 and 1.4.0) in different environments. None
>> of them is working when connecting to weston (black screen)
>>
>>
>>    - Docker image
>>    - Ubuntu 20.04
>>    - Ubuntu 21
>>    - Centos 8
>>
>> All the scenarios lead to the same results:
>>
>>    - guacamole to rdp servers as Win10 and Xrdp work
>>    - remmina, vinagre and other rdp clients on ubuntu/centos  to weston
>>    work
>>    - guacamole to weston (weston on debian, ubuntu 21, ubuntu 20.04) the
>>    screen stays in "black" (mouse and keyboard are working)
>>
>> I strongly believe that is something very specific between guacd and
>> weston. Can somebody help with this.
>>
>>
> I just spun up a Fedora 35 system with weston and am seeing the same
> behavior when connecting from Guacamole. I haven't tried all that much,
> but, running weston via CLI I get a lot of the following messages:
>
> [10:23:51:539] [3467:3467] [WARN][com.freerdp.core.surface] -
> SURFACE_BITS_COMMAND->cmdType 0x0000 not allowed, correcting to 0x0006
> [10:23:51:577] [3467:3467] [WARN][com.freerdp.core.surface] -
> SURFACE_BITS_COMMAND->cmdType 0x0000 not allowed, correcting to 0x0006
> [10:23:51:617] [3467:3467] [WARN][com.freerdp.core.surface] -
> SURFACE_BITS_COMMAND->cmdType 0x0000 not allowed, correcting to 0x0006
> [10:23:51:769] [3467:3467] [WARN][com.freerdp.core.surface] -
> SURFACE_BITS_COMMAND->cmdType 0x0000 not allowed, correcting to 0x0006
> [10:23:51:769] [3467:3467] [WARN][com.freerdp.core.surface] -
> SURFACE_BITS_COMMAND->cmdType 0x0000 not allowed, correcting to 0x0006
> [10:23:51:795] [3467:3467] [WARN][com.freerdp.core.surface] -
> SURFACE_BITS_COMMAND->cmdType 0x0000 not allowed, correcting to 0x0006
> [10:23:51:795] [3467:3467] [WARN][com.freerdp.core.surface] -
> SURFACE_BITS_COMMAND->cmdType 0x0000 not allowed, correcting to 0x0006
> [10:23:51:795] [3467:3467] [WARN][com.freerdp.core.surface] -
> SURFACE_BITS_COMMAND->cmdType 0x0000 not allowed, correcting to 0x0006
> [10:23:51:867] [3467:3467] [WARN][com.freerdp.core.surface] -
> SURFACE_BITS_COMMAND->cmdType 0x0000 not allowed, correcting to 0x0006
> [10:23:51:868] [3467:3467] [WARN][com.freerdp.core.surface] -
> SURFACE_BITS_COMMAND->cmdType 0x0000 not allowed, correcting to 0x0006
> [10:23:51:893] [3467:3467] [WARN][com.freerdp.core.surface] -
> SURFACE_BITS_COMMAND->cmdType 0x0000 not allowed, correcting to 0x0006
> [10:23:51:893] [3467:3467] [WARN][com.freerdp.core.surface] -
> SURFACE_BITS_COMMAND->cmdType 0x0000 not allowed, correcting to 0x0006
> [10:23:51:893] [3467:3467] [WARN][com.freerdp.core.surface] -
> SURFACE_BITS_COMMAND->cmdType 0x0000 not allowed, correcting to 0x0006
> [10:23:51:919] [3467:3467] [WARN][com.freerdp.core.surface] -
> SURFACE_BITS_COMMAND->cmdType 0x0000 not allowed, correcting to 0x0006
>
> Not entirely sure that's related, but seems like it could be. I haven't
> done any debugging on the guacd side, either.
>
> -Nick
>

Re: Problems connecting to RDP server Weston with rdp backend

Posted by Nick Couchman <vn...@apache.org>.
On Fri, Jan 14, 2022 at 5:02 AM Fernando C. de Urien y Muñiz <
furien@nts-solutions.com> wrote:

> Hi again,
> I made more test. I wanted to be sure that the guacamole setup was correct
> so I tested guacd (1.3.0 and 1.4.0) in different environments. None of them
> is working when connecting to weston (black screen)
>
>
>    - Docker image
>    - Ubuntu 20.04
>    - Ubuntu 21
>    - Centos 8
>
> All the scenarios lead to the same results:
>
>    - guacamole to rdp servers as Win10 and Xrdp work
>    - remmina, vinagre and other rdp clients on ubuntu/centos  to weston
>    work
>    - guacamole to weston (weston on debian, ubuntu 21, ubuntu 20.04) the
>    screen stays in "black" (mouse and keyboard are working)
>
> I strongly believe that is something very specific between guacd and
> weston. Can somebody help with this.
>
>
I just spun up a Fedora 35 system with weston and am seeing the same
behavior when connecting from Guacamole. I haven't tried all that much,
but, running weston via CLI I get a lot of the following messages:

[10:23:51:539] [3467:3467] [WARN][com.freerdp.core.surface] -
SURFACE_BITS_COMMAND->cmdType 0x0000 not allowed, correcting to 0x0006
[10:23:51:577] [3467:3467] [WARN][com.freerdp.core.surface] -
SURFACE_BITS_COMMAND->cmdType 0x0000 not allowed, correcting to 0x0006
[10:23:51:617] [3467:3467] [WARN][com.freerdp.core.surface] -
SURFACE_BITS_COMMAND->cmdType 0x0000 not allowed, correcting to 0x0006
[10:23:51:769] [3467:3467] [WARN][com.freerdp.core.surface] -
SURFACE_BITS_COMMAND->cmdType 0x0000 not allowed, correcting to 0x0006
[10:23:51:769] [3467:3467] [WARN][com.freerdp.core.surface] -
SURFACE_BITS_COMMAND->cmdType 0x0000 not allowed, correcting to 0x0006
[10:23:51:795] [3467:3467] [WARN][com.freerdp.core.surface] -
SURFACE_BITS_COMMAND->cmdType 0x0000 not allowed, correcting to 0x0006
[10:23:51:795] [3467:3467] [WARN][com.freerdp.core.surface] -
SURFACE_BITS_COMMAND->cmdType 0x0000 not allowed, correcting to 0x0006
[10:23:51:795] [3467:3467] [WARN][com.freerdp.core.surface] -
SURFACE_BITS_COMMAND->cmdType 0x0000 not allowed, correcting to 0x0006
[10:23:51:867] [3467:3467] [WARN][com.freerdp.core.surface] -
SURFACE_BITS_COMMAND->cmdType 0x0000 not allowed, correcting to 0x0006
[10:23:51:868] [3467:3467] [WARN][com.freerdp.core.surface] -
SURFACE_BITS_COMMAND->cmdType 0x0000 not allowed, correcting to 0x0006
[10:23:51:893] [3467:3467] [WARN][com.freerdp.core.surface] -
SURFACE_BITS_COMMAND->cmdType 0x0000 not allowed, correcting to 0x0006
[10:23:51:893] [3467:3467] [WARN][com.freerdp.core.surface] -
SURFACE_BITS_COMMAND->cmdType 0x0000 not allowed, correcting to 0x0006
[10:23:51:893] [3467:3467] [WARN][com.freerdp.core.surface] -
SURFACE_BITS_COMMAND->cmdType 0x0000 not allowed, correcting to 0x0006
[10:23:51:919] [3467:3467] [WARN][com.freerdp.core.surface] -
SURFACE_BITS_COMMAND->cmdType 0x0000 not allowed, correcting to 0x0006

Not entirely sure that's related, but seems like it could be. I haven't
done any debugging on the guacd side, either.

-Nick

Re: Problems connecting to RDP server Weston with rdp backend

Posted by "Fernando C. de Urien y Muñiz" <fu...@nts-solutions.com>.
Hi again,
I made more test. I wanted to be sure that the guacamole setup was correct
so I tested guacd (1.3.0 and 1.4.0) in different environments. None of them
is working when connecting to weston (black screen)


   - Docker image
   - Ubuntu 20.04
   - Ubuntu 21
   - Centos 8

All the scenarios lead to the same results:

   - guacamole to rdp servers as Win10 and Xrdp work
   - remmina, vinagre and other rdp clients on ubuntu/centos  to weston work
   - guacamole to weston (weston on debian, ubuntu 21, ubuntu 20.04) the
   screen stays in "black" (mouse and keyboard are working)

I strongly believe that is something very specific between guacd and
weston. Can somebody help with this.

thanks!
Fernando


El mié, 12 ene 2022 a las 21:28, Ivanmarcus (<iv...@yahoo.com.invalid>)
escribió:

> Fernando,
>
> I've seen similar log entries from working systems so I'm not sure it's
> necessarily the issue, however given the uniqueness of your setup I
> agree it'd be good to be able to specify some parameters in order to
> test things further.
>
> That said I don't believe there's any easy way to go about this - you'd
> need to alter the code directly. A couple of pointers on that may be
> obtainable here:
>
> https://lists.apache.org/list?user@guacamole.apache.org:2021-8:guacd%20pass%20additional%20args
> and here: https://lists.apache.org/thread/0lx5ypm6t0ndwgy0cp8m8nsqp5zmnzdf
>
> Otherwise it may be that others on the list have experience with your
> issue/setup, or are able to provide much more informed assistance.
>
>
> On 12/01/22 11:56 pm, Fernando C. de Urien y Muñiz wrote:
> > Hi Ivan,
> > Thanks for your ideas!
> > I made some further debugging with remmina and guacamole. I found a
> > difference in the connection they establish:
> >
> > Reminna:
> >
> > Local framebuffer format  PIXEL_FORMAT_BGRX32
> > Remote framebuffer format *PIXEL_FORMAT_BGRA32*
> >
> > Guacd
> > Jan 12 10:17:06 ip-172-33-33-54 guacd[698589]: Local framebuffer format
> >   PIXEL_FORMAT_BGRX32
> > Jan 12 10:17:06 ip-172-33-33-54 guacd[698589]: Remote framebuffer format
> > *PIXEL_FORMAT_RGB16*
> > I suspect that for some reason guacd is not detecting the "remote
> > framebuffer format PIXEL_FORMAT" correctly and that leads to a faulty
> > rendering but no idea about how to force it. Is there any setting to
> > force BGRA32 for a connection?  (i think the problem is in guacd because
> > I am using the same freerdp packages from ubuntu but, of course, not
> sure)
> > I built guacd but used the ubuntu packaged freerdp development files.
> >
> >  >>Having said all that I don't recall seeing much about your Guacamole
> >  >>installation? I seem to recall some possible issue with graphics if a
> >  >>proxy is in use,
> >
> > I thought about that at first but the same guacamole setup is being able
> > to connect to a win10 box, 2008r2 box and a ubuntu xrdp box... my
> > feeling is that the client is able to render.
> >
> > thanks,
> >
> > Fernando
> >
> > El mié, 12 ene 2022 a las 11:19, Ivanmarcus
> > (<iv...@yahoo.com.invalid>) escribió:
> >
> >     In Remmina, if you've set up a connection, you can edit that
> connection
> >     to see some of the settings it uses (colour depth for example). You
> can
> >     also turn on a debug window which may show more - although I've seen
> >     mixed comments on that.
> >
> >     I suppose it's possible you have two or more versions of FreeRDP on
> >     your
> >     system. It could be worth checking that before going too far - to see
> >     what Remmina's using first find the plugin:
> >
> >     dpkg -L remmina-plugin-rdp | fgrep remmina-plugin-rdp.so
> >
> >     (my Ubuntu 18.04 shows
> >     /usr/lib/x86_64-linux-gnu/remmina/plugins/remmina-plugin-rdp.so)
> >
> >     then:
> >
> >     ldd /usr/lib/x86_64-linux-gnu/remmina/plugins/remmina-plugin-rdp.so |
> >     grep libfree
> >
> >     should show the FreeRDP version.
> >
> >     If you compiled Guacamole from scratch you'll know if this is the
> same
> >     version you introduced then. If it is then you'd generally expect it
> to
> >     work as it does with Remmina (all commands being equal), if not then
> >     there could be some subtle differences so you'd need to proceed with
> a
> >     degree of caution.
> >
> >     Note that being the same doesn't necessarily mean that Guacamole must
> >     work, all you're doing at this point is trying to eliminate a few
> >     possible issues so that it's easier to focus closer to where the
> issue
> >     might lay.
> >
> >     Having said all that I don't recall seeing much about your Guacamole
> >     installation? I seem to recall some possible issue with graphics if a
> >     proxy is in use, so if the problem persists it could be worth
> checking
> >     that and/or letting is know more about your setup.
> >
> >     One other thing that's also worth doing before going too far is
> simply
> >     to clear your browser cache - that's caused many a problem in the
> past.
> >
> >     That probably exhausts my ideas at this point, however going through
> >     these things may well assist others to more readily identify the
> actual
> >     issue...
> >
> >
> >
> >     On 12/01/22 8:56 pm, Fernando C. de Urien y Muñiz wrote:
> >      > Hi! Thanks for your answer.
> >      > Just tried with "remmina/freeRDP" on ubuntu 20.04 (same as guacd
> >     box)
> >      > and it works.  I already tried to disable catching.
> >      >
> >      > is there anyway to see the "settings" that remmina used to
> >     connect so I
> >      > can "set them up" in guacamole?
> >      >
> >      > Thanks!
> >      > Fernando
> >      >
> >      > El mié, 12 ene 2022 a las 3:07, Ivanmarcus
> >      > (<iv...@yahoo.com.invalid>) escribió:
> >      >
> >      >
> >      >     Fernando,
> >      >
> >      >     I have zero experience of your remote environment, however
> >     perhaps you
> >      >     could try initially connecting direct with Remmina/FreeRDP
> >     (pref the
> >      >     same version as you're using for Guacamole)?
> >      >
> >      >     If that works then try Guacamole again, specifically
> >     disabling all the
> >      >     caching options. It may also be worth experimenting with some
> >     different
> >      >     display settings (eg. true colour etc).
> >      >
> >      >     If perchance a direct FreeRDP connection doesn't work I
> suspect
> >      >     Guacamole won't either, until whatever impediment is
> >     resolved. However
> >      >     in that instance it should narrow things down somewhat and
> >     hopefully
> >      >     make it a little easier to resolve.
> >      >
> >      >
> >
>  ---------------------------------------------------------------------
> >      >     To unsubscribe, e-mail: user-unsubscribe@guacamole.apache.org
> >     <ma...@guacamole.apache.org>
> >      >     <mailto:user-unsubscribe@guacamole.apache.org
> >     <ma...@guacamole.apache.org>>
> >      >     For additional commands, e-mail:
> >     user-help@guacamole.apache.org <mailto:
> user-help@guacamole.apache.org>
> >      >     <mailto:user-help@guacamole.apache.org
> >     <ma...@guacamole.apache.org>>
> >      >
> >
> >     ---------------------------------------------------------------------
> >     To unsubscribe, e-mail: user-unsubscribe@guacamole.apache.org
> >     <ma...@guacamole.apache.org>
> >     For additional commands, e-mail: user-help@guacamole.apache.org
> >     <ma...@guacamole.apache.org>
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@guacamole.apache.org
> For additional commands, e-mail: user-help@guacamole.apache.org
>
>

Re: Problems connecting to RDP server Weston with rdp backend

Posted by Ivanmarcus <iv...@yahoo.com.INVALID>.
Fernando,

I've seen similar log entries from working systems so I'm not sure it's 
necessarily the issue, however given the uniqueness of your setup I 
agree it'd be good to be able to specify some parameters in order to 
test things further.

That said I don't believe there's any easy way to go about this - you'd 
need to alter the code directly. A couple of pointers on that may be 
obtainable here: 
https://lists.apache.org/list?user@guacamole.apache.org:2021-8:guacd%20pass%20additional%20args 
and here: https://lists.apache.org/thread/0lx5ypm6t0ndwgy0cp8m8nsqp5zmnzdf

Otherwise it may be that others on the list have experience with your 
issue/setup, or are able to provide much more informed assistance.


On 12/01/22 11:56 pm, Fernando C. de Urien y Muñiz wrote:
> Hi Ivan,
> Thanks for your ideas!
> I made some further debugging with remmina and guacamole. I found a 
> difference in the connection they establish:
> 
> Reminna:
> 
> Local framebuffer format  PIXEL_FORMAT_BGRX32
> Remote framebuffer format *PIXEL_FORMAT_BGRA32*
> 
> Guacd
> Jan 12 10:17:06 ip-172-33-33-54 guacd[698589]: Local framebuffer format 
>   PIXEL_FORMAT_BGRX32
> Jan 12 10:17:06 ip-172-33-33-54 guacd[698589]: Remote framebuffer format 
> *PIXEL_FORMAT_RGB16*
> I suspect that for some reason guacd is not detecting the "remote 
> framebuffer format PIXEL_FORMAT" correctly and that leads to a faulty 
> rendering but no idea about how to force it. Is there any setting to 
> force BGRA32 for a connection?  (i think the problem is in guacd because 
> I am using the same freerdp packages from ubuntu but, of course, not sure)
> I built guacd but used the ubuntu packaged freerdp development files.
> 
>  >>Having said all that I don't recall seeing much about your Guacamole
>  >>installation? I seem to recall some possible issue with graphics if a
>  >>proxy is in use,
> 
> I thought about that at first but the same guacamole setup is being able 
> to connect to a win10 box, 2008r2 box and a ubuntu xrdp box... my 
> feeling is that the client is able to render.
> 
> thanks,
> 
> Fernando
> 
> El mié, 12 ene 2022 a las 11:19, Ivanmarcus 
> (<iv...@yahoo.com.invalid>) escribió:
> 
>     In Remmina, if you've set up a connection, you can edit that connection
>     to see some of the settings it uses (colour depth for example). You can
>     also turn on a debug window which may show more - although I've seen
>     mixed comments on that.
> 
>     I suppose it's possible you have two or more versions of FreeRDP on
>     your
>     system. It could be worth checking that before going too far - to see
>     what Remmina's using first find the plugin:
> 
>     dpkg -L remmina-plugin-rdp | fgrep remmina-plugin-rdp.so
> 
>     (my Ubuntu 18.04 shows
>     /usr/lib/x86_64-linux-gnu/remmina/plugins/remmina-plugin-rdp.so)
> 
>     then:
> 
>     ldd /usr/lib/x86_64-linux-gnu/remmina/plugins/remmina-plugin-rdp.so |
>     grep libfree
> 
>     should show the FreeRDP version.
> 
>     If you compiled Guacamole from scratch you'll know if this is the same
>     version you introduced then. If it is then you'd generally expect it to
>     work as it does with Remmina (all commands being equal), if not then
>     there could be some subtle differences so you'd need to proceed with a
>     degree of caution.
> 
>     Note that being the same doesn't necessarily mean that Guacamole must
>     work, all you're doing at this point is trying to eliminate a few
>     possible issues so that it's easier to focus closer to where the issue
>     might lay.
> 
>     Having said all that I don't recall seeing much about your Guacamole
>     installation? I seem to recall some possible issue with graphics if a
>     proxy is in use, so if the problem persists it could be worth checking
>     that and/or letting is know more about your setup.
> 
>     One other thing that's also worth doing before going too far is simply
>     to clear your browser cache - that's caused many a problem in the past.
> 
>     That probably exhausts my ideas at this point, however going through
>     these things may well assist others to more readily identify the actual
>     issue...
> 
> 
> 
>     On 12/01/22 8:56 pm, Fernando C. de Urien y Muñiz wrote:
>      > Hi! Thanks for your answer.
>      > Just tried with "remmina/freeRDP" on ubuntu 20.04 (same as guacd
>     box)
>      > and it works.  I already tried to disable catching.
>      >
>      > is there anyway to see the "settings" that remmina used to
>     connect so I
>      > can "set them up" in guacamole?
>      >
>      > Thanks!
>      > Fernando
>      >
>      > El mié, 12 ene 2022 a las 3:07, Ivanmarcus
>      > (<iv...@yahoo.com.invalid>) escribió:
>      >
>      >
>      >     Fernando,
>      >
>      >     I have zero experience of your remote environment, however
>     perhaps you
>      >     could try initially connecting direct with Remmina/FreeRDP
>     (pref the
>      >     same version as you're using for Guacamole)?
>      >
>      >     If that works then try Guacamole again, specifically
>     disabling all the
>      >     caching options. It may also be worth experimenting with some
>     different
>      >     display settings (eg. true colour etc).
>      >
>      >     If perchance a direct FreeRDP connection doesn't work I suspect
>      >     Guacamole won't either, until whatever impediment is
>     resolved. However
>      >     in that instance it should narrow things down somewhat and
>     hopefully
>      >     make it a little easier to resolve.
>      >
>      >   
>       ---------------------------------------------------------------------
>      >     To unsubscribe, e-mail: user-unsubscribe@guacamole.apache.org
>     <ma...@guacamole.apache.org>
>      >     <mailto:user-unsubscribe@guacamole.apache.org
>     <ma...@guacamole.apache.org>>
>      >     For additional commands, e-mail:
>     user-help@guacamole.apache.org <ma...@guacamole.apache.org>
>      >     <mailto:user-help@guacamole.apache.org
>     <ma...@guacamole.apache.org>>
>      >
> 
>     ---------------------------------------------------------------------
>     To unsubscribe, e-mail: user-unsubscribe@guacamole.apache.org
>     <ma...@guacamole.apache.org>
>     For additional commands, e-mail: user-help@guacamole.apache.org
>     <ma...@guacamole.apache.org>
> 

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


Re: Problems connecting to RDP server Weston with rdp backend

Posted by "Fernando C. de Urien y Muñiz" <fu...@nts-solutions.com>.
Hi Ivan,
Thanks for your ideas!
I made some further debugging with remmina and guacamole. I found a
difference in the connection they establish:

Reminna:

Local framebuffer format  PIXEL_FORMAT_BGRX32
Remote framebuffer format *PIXEL_FORMAT_BGRA32*

Guacd
Jan 12 10:17:06 ip-172-33-33-54 guacd[698589]: Local framebuffer format
 PIXEL_FORMAT_BGRX32
Jan 12 10:17:06 ip-172-33-33-54 guacd[698589]: Remote framebuffer format
*PIXEL_FORMAT_RGB16*

I suspect that for some reason guacd is not detecting the "remote
framebuffer format PIXEL_FORMAT" correctly and that leads to a faulty
rendering but no idea about how to force it. Is there any setting to force
BGRA32 for a connection?  (i think the problem is in guacd because I am
using the same freerdp packages from ubuntu but, of course, not sure)
I built guacd but used the ubuntu packaged freerdp development files.

>>Having said all that I don't recall seeing much about your Guacamole
>>installation? I seem to recall some possible issue with graphics if a
>>proxy is in use,

I thought about that at first but the same guacamole setup is being able to
connect to a win10 box, 2008r2 box and a ubuntu xrdp box... my feeling is
that the client is able to render.

thanks,

Fernando

El mié, 12 ene 2022 a las 11:19, Ivanmarcus (<iv...@yahoo.com.invalid>)
escribió:

> In Remmina, if you've set up a connection, you can edit that connection
> to see some of the settings it uses (colour depth for example). You can
> also turn on a debug window which may show more - although I've seen
> mixed comments on that.
>
> I suppose it's possible you have two or more versions of FreeRDP on your
> system. It could be worth checking that before going too far - to see
> what Remmina's using first find the plugin:
>
> dpkg -L remmina-plugin-rdp | fgrep remmina-plugin-rdp.so
>
> (my Ubuntu 18.04 shows
> /usr/lib/x86_64-linux-gnu/remmina/plugins/remmina-plugin-rdp.so)
>
> then:
>
> ldd /usr/lib/x86_64-linux-gnu/remmina/plugins/remmina-plugin-rdp.so |
> grep libfree
>
> should show the FreeRDP version.
>
> If you compiled Guacamole from scratch you'll know if this is the same
> version you introduced then. If it is then you'd generally expect it to
> work as it does with Remmina (all commands being equal), if not then
> there could be some subtle differences so you'd need to proceed with a
> degree of caution.
>
> Note that being the same doesn't necessarily mean that Guacamole must
> work, all you're doing at this point is trying to eliminate a few
> possible issues so that it's easier to focus closer to where the issue
> might lay.
>
> Having said all that I don't recall seeing much about your Guacamole
> installation? I seem to recall some possible issue with graphics if a
> proxy is in use, so if the problem persists it could be worth checking
> that and/or letting is know more about your setup.
>
> One other thing that's also worth doing before going too far is simply
> to clear your browser cache - that's caused many a problem in the past.
>
> That probably exhausts my ideas at this point, however going through
> these things may well assist others to more readily identify the actual
> issue...
>
>
>
> On 12/01/22 8:56 pm, Fernando C. de Urien y Muñiz wrote:
> > Hi! Thanks for your answer.
> > Just tried with "remmina/freeRDP" on ubuntu 20.04 (same as guacd box)
> > and it works.  I already tried to disable catching.
> >
> > is there anyway to see the "settings" that remmina used to connect so I
> > can "set them up" in guacamole?
> >
> > Thanks!
> > Fernando
> >
> > El mié, 12 ene 2022 a las 3:07, Ivanmarcus
> > (<iv...@yahoo.com.invalid>) escribió:
> >
> >
> >     Fernando,
> >
> >     I have zero experience of your remote environment, however perhaps
> you
> >     could try initially connecting direct with Remmina/FreeRDP (pref the
> >     same version as you're using for Guacamole)?
> >
> >     If that works then try Guacamole again, specifically disabling all
> the
> >     caching options. It may also be worth experimenting with some
> different
> >     display settings (eg. true colour etc).
> >
> >     If perchance a direct FreeRDP connection doesn't work I suspect
> >     Guacamole won't either, until whatever impediment is resolved.
> However
> >     in that instance it should narrow things down somewhat and hopefully
> >     make it a little easier to resolve.
> >
> >     ---------------------------------------------------------------------
> >     To unsubscribe, e-mail: user-unsubscribe@guacamole.apache.org
> >     <ma...@guacamole.apache.org>
> >     For additional commands, e-mail: user-help@guacamole.apache.org
> >     <ma...@guacamole.apache.org>
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@guacamole.apache.org
> For additional commands, e-mail: user-help@guacamole.apache.org
>
>

Re: Problems connecting to RDP server Weston with rdp backend

Posted by Ivanmarcus <iv...@yahoo.com.INVALID>.
In Remmina, if you've set up a connection, you can edit that connection 
to see some of the settings it uses (colour depth for example). You can 
also turn on a debug window which may show more - although I've seen 
mixed comments on that.

I suppose it's possible you have two or more versions of FreeRDP on your 
system. It could be worth checking that before going too far - to see 
what Remmina's using first find the plugin:

dpkg -L remmina-plugin-rdp | fgrep remmina-plugin-rdp.so

(my Ubuntu 18.04 shows 
/usr/lib/x86_64-linux-gnu/remmina/plugins/remmina-plugin-rdp.so)

then:

ldd /usr/lib/x86_64-linux-gnu/remmina/plugins/remmina-plugin-rdp.so | 
grep libfree

should show the FreeRDP version.

If you compiled Guacamole from scratch you'll know if this is the same 
version you introduced then. If it is then you'd generally expect it to 
work as it does with Remmina (all commands being equal), if not then 
there could be some subtle differences so you'd need to proceed with a 
degree of caution.

Note that being the same doesn't necessarily mean that Guacamole must 
work, all you're doing at this point is trying to eliminate a few 
possible issues so that it's easier to focus closer to where the issue 
might lay.

Having said all that I don't recall seeing much about your Guacamole 
installation? I seem to recall some possible issue with graphics if a 
proxy is in use, so if the problem persists it could be worth checking 
that and/or letting is know more about your setup.

One other thing that's also worth doing before going too far is simply 
to clear your browser cache - that's caused many a problem in the past.

That probably exhausts my ideas at this point, however going through 
these things may well assist others to more readily identify the actual 
issue...



On 12/01/22 8:56 pm, Fernando C. de Urien y Muñiz wrote:
> Hi! Thanks for your answer.
> Just tried with "remmina/freeRDP" on ubuntu 20.04 (same as guacd box) 
> and it works.  I already tried to disable catching.
> 
> is there anyway to see the "settings" that remmina used to connect so I 
> can "set them up" in guacamole?
> 
> Thanks!
> Fernando
> 
> El mié, 12 ene 2022 a las 3:07, Ivanmarcus 
> (<iv...@yahoo.com.invalid>) escribió:
> 
> 
>     Fernando,
> 
>     I have zero experience of your remote environment, however perhaps you
>     could try initially connecting direct with Remmina/FreeRDP (pref the
>     same version as you're using for Guacamole)?
> 
>     If that works then try Guacamole again, specifically disabling all the
>     caching options. It may also be worth experimenting with some different
>     display settings (eg. true colour etc).
> 
>     If perchance a direct FreeRDP connection doesn't work I suspect
>     Guacamole won't either, until whatever impediment is resolved. However
>     in that instance it should narrow things down somewhat and hopefully
>     make it a little easier to resolve.
> 
>     ---------------------------------------------------------------------
>     To unsubscribe, e-mail: user-unsubscribe@guacamole.apache.org
>     <ma...@guacamole.apache.org>
>     For additional commands, e-mail: user-help@guacamole.apache.org
>     <ma...@guacamole.apache.org>
> 

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


Re: Problems connecting to RDP server Weston with rdp backend

Posted by "Fernando C. de Urien y Muñiz" <fu...@nts-solutions.com>.
Hi! Thanks for your answer.
Just tried with "remmina/freeRDP" on ubuntu 20.04 (same as guacd box) and
it works.  I already tried to disable catching.

is there anyway to see the "settings" that remmina used to connect so I can
"set them up" in guacamole?

Thanks!
Fernando

El mié, 12 ene 2022 a las 3:07, Ivanmarcus (<iv...@yahoo.com.invalid>)
escribió:

>
> Fernando,
>
> I have zero experience of your remote environment, however perhaps you
> could try initially connecting direct with Remmina/FreeRDP (pref the
> same version as you're using for Guacamole)?
>
> If that works then try Guacamole again, specifically disabling all the
> caching options. It may also be worth experimenting with some different
> display settings (eg. true colour etc).
>
> If perchance a direct FreeRDP connection doesn't work I suspect
> Guacamole won't either, until whatever impediment is resolved. However
> in that instance it should narrow things down somewhat and hopefully
> make it a little easier to resolve.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@guacamole.apache.org
> For additional commands, e-mail: user-help@guacamole.apache.org
>
>

Re: Problems connecting to RDP server Weston with rdp backend

Posted by Ivanmarcus <iv...@yahoo.com.INVALID>.
Fernando,

I have zero experience of your remote environment, however perhaps you 
could try initially connecting direct with Remmina/FreeRDP (pref the 
same version as you're using for Guacamole)?

If that works then try Guacamole again, specifically disabling all the 
caching options. It may also be worth experimenting with some different 
display settings (eg. true colour etc).

If perchance a direct FreeRDP connection doesn't work I suspect 
Guacamole won't either, until whatever impediment is resolved. However 
in that instance it should narrow things down somewhat and hopefully 
make it a little easier to resolve.

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