[iMX8] Yocto with FreeRdp

Hello There,

im trying to connect to my iMX8 remotely using FreeRdp. According to the wiki page:

it is applicable on iMX8.

I found the freerdp recipe and added the package through local.conf

IMAGE_INSTALL_append = " freerdp"

the Image is built correctly. but in Linux it seems only “xfreerdp” is available and it didnt work. Since the iMX8 image uses wayland display protocol, i guess the suitable freerdp tool for it should be “wlfreerdp” right?
is there a way to use the freerdp protocol on iMX8 ?

Thanks in Advance.

Best regards, Majd

HI @majd.m

the Image is built correctly. but in Linux it seems only “xfreerdp” is available and it didnt work.

Which image did you build?
What errors did you get?

Best regards,
Jaski

the image is: qt5-x11-image (for Apalis imx8)

errors:

root@apalis-imx8:~# xfreerdp --no-osb --sec rdp -u "user" -p "password" "192.168.1.10"
[12:05:22:721] [5241:5241] [WARN][com.freerdp.client.common.cmdline] - Using deprecated command-line interface!
[12:05:22:722] [5241:5241] [WARN][com.freerdp.client.common.compatibility] - -p ****** -> /p:******
[12:05:22:722] [5241:5241] [WARN][com.freerdp.client.common.compatibility] - -u user -> /u:user
[12:05:22:722] [5241:5241] [WARN][com.freerdp.client.common.compatibility] - --no-osb -> -offscreen-cache
[12:05:22:722] [5241:5241] [WARN][com.freerdp.client.common.compatibility] - --sec rdp -> /sec:rdp
[12:05:22:722] [5241:5241] [WARN][com.freerdp.client.common.compatibility] - 192.168.1.10 -> /v:192.168.1.10
[12:05:22:722] [5241:5241] [WARN][com.freerdp.client.common.compatibility] -
[12:05:22:724] [5241:5242] [INFO][com.freerdp.client.x11] - Property 301 does not exist
[12:05:22:725] [5241:5242] [ERROR][com.freerdp.client.x11] - Mouse physical button 0 is mapped to logical button 0
[12:05:25:796] [5241:5242] [ERROR][com.freerdp.core.transport] - BIO_should_retry returned a system error 32: Broken pipe
[12:05:25:796] [5241:5242] [ERROR][com.freerdp.core.nego] - Protocol Security Negotiation Failure
[12:05:25:796] [5241:5242] [ERROR][com.freerdp.core] - freerdp_set_last_error ERRCONNECT_SECURITY_NEGO_CONNECT_FAILED [0x0002000C]
[12:05:25:796] [5241:5242] [ERROR][com.freerdp.core.connection] - Error: protocol security negotiation or connection failure
[12:05:25:796] [5241:5242] [ERROR][com.freerdp.client.x11] - Freerdp connect error exit status 1

HI @majd.m

Thanks for the information. We will try to reproduce this issue and come within this week to you.

Thanks and best regards,
Jaski

Hi @majd.m

I also tried to apply the PACKAGECONFIG for wayland, but when I did this, I did not have a CLI for freerdp. However, you should still be able to use xfreerdp on the iMX8 in general, even with Wayland (makes use of xwayland). I think the CLI of the application recently changed and the documentation you mentioned is still the old one. Could you try the following:

xfreerdp /u:"user" /p:"password" /v:"192.168.1.10" 

Best regards
Diego