Weston RDP on ARM

Hardening rdp.effort at gmail.com
Thu Mar 26 13:06:06 PDT 2015


Le 26/03/2015 15:45, Heikki Sarkanen a écrit :
> Hi,
> 
> I am trying to use the RDP backend on custom Freescale iMX6 based ARM
> board where the only supported fbdev-backend is heavily patched:
> https://github.com/Freescale/meta-fsl-arm/tree/master/recipes-graphics/wayland/weston.
> I am using Yocto build system, Weston 1.7 and freerdp version:
> 3f371b22ad67033c366e41f459747796a95633b8 which was working on some ARM
> board: http://lists.freedesktop.org/archives/wayland-devel/2015-February/020088.html.
> Probably I am doing something wrong because I have tried three
> different approaches with no luck yet:
> 
> 1. Use fullscreen shell to show contents of other fbdev/desktop-shell
> compositor.
> Currently fullscreen shell works and I can connect RDP client which
> shows blank image:
> weston --no-config --backend=rdp-backend.so
> --shell=fullscreen-shell.so --no-clients-resize
> --rdp-tls-cert=/home/root/test.crt --rdp-tls-key=/home/root/test.key
> 
> How can I show desktop-shell contents running on fbdev-backend on this
> fullscreen shell compositor?
> 
> 2. Use desktop-shell on RDP-backend like they use on Tizen:
> https://wiki.tizen.org/wiki/Weston_RDP_access This fails to
> get_shell_surface and quits:
> weston --no-config --backend=rdp-backend.so --shell=desktop-shell.so
> --no-clients-resize --rdp-tls-cert=/home/root/test.crt
> --rdp-tls-key=/home/root/test.key --socket=wayland-1
> [12:12:17.884] weston 1.7.0
>                http://wayland.freedesktop.org
>                Bug reports to:
> https://bugs.freedesktop.org/enter_bug.cgi?product=Wayland&component=weston&version=1.7.0
>                Build: 1.6.93-9-gdbd8606 configure.ac: bump to version
> 1.7.0 for release (2015-02-13 20:47:09 -0800)
> [12:12:17.885] OS: Linux, 3.10.53-alpha1.1, #1 SMP PREEMPT Tue Mar 3
> 23:09:53 EET 2015, armv7l
> [12:12:17.886] Starting with no config file.
> [12:12:17.888] Loading module '/usr/lib/weston/rdp-backend.so'
> [12:12:17.983] using FreeRDP version 1.2.1
> [12:12:17.986] TLS support activated
> [12:12:17:471] [969:1992478720] [INFO][com.freerdp.core.listener] -
> Listening on 0.0.0.0:3389
> [12:12:17.988] Compositor capabilities:
>                arbitrary surface rotation: yes
>                screen capture uses y-flip: yes
>                presentation clock: CLOCK_MONOTONIC_RAW, id 4
> [12:12:17.990] Loading module '/usr/lib/weston/desktop-shell.so'
> [12:12:17.998] launching '/usr/lib/weston/weston-desktop-shell'
> [12:12:18.072] Error: /usr/lib/weston/weston-desktop-shell apparently
> cannot run at all.
>                Quitting...
> 
> Does RDP backend work with desktop shell?

Yes it does, on x86_64 I can run your command and it works nicely. Note:
you don't need FreeScale patches for the headless RDP compositor.

Best regards.

-- 
David FORT
website: http://www.hardening-consulting.com/



More information about the wayland-devel mailing list