Weston RDP on ARM
Heikki Sarkanen
hsarkane at gmail.com
Fri Mar 27 08:54:02 PDT 2015
I tried without FreeScale pathces which unfortunately doesn't make a
difference with the headless RDP (obviously I cannot use fbdev backend
without those pathces). There might still be some build options:
https://github.com/hsarkanen/poky/blob/wayland_1.7.0/meta/recipes-graphics/wayland/weston_1.7.0.bb#L23-L32
and https://github.com/hsarkanen/meta-fsl-arm/blob/wayland_1.7.0/recipes-graphics/wayland/weston_%25.bbappend#L8-L35
which makes our Weston builds different. Also I don't currently have
proper X86 HW to test with so it may be the ARM also.
I tried all the different approaches with RDP to test if it works on
my iMX6 system. My ultimate goal is to run a compositor on
fbdev-backend and copy the same screen over RDP, similar to x11vnc. So
if you or someone could answer the first question: "How can I show
desktop-shell contents running on fbdev-backend on this fullscreen
shell compositor?" it would be really helpful.
Thanks for the help!
BR,
Heikki Sarkanen
2015-03-26 22:06 GMT+02:00 Hardening <rdp.effort at gmail.com>:
> 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/
>
> _______________________________________________
> wayland-devel mailing list
> wayland-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/wayland-devel
More information about the wayland-devel
mailing list