Is the RDP backend suppose to work?

Manuel Bachmann manuel.bachmann at open.eurogiciel.org
Tue Jan 27 08:02:39 PST 2015


Hi John,

>From my experience, a certificate is necessary. I see that you are
generating the certificate manually ; please try to use the steps described
in the following tutorial :

https://wiki.tizen.org/wiki/Weston_RDP_access

(the "winpr-makecert" tool should be build in one the "winpr"
subdirectories)

2015-01-24 20:00 GMT+01:00 John Obaterspok <john.obaterspok at gmail.com>:

> Hello,
>
> I've tried for quite some time to get the RDP backend going. Perhaps it's
> just me that's not setting things up correctly. I'm trying this on a
> updated 64-bit Fedora 21 box that has Wayland 1.6 and
> freerdp-1.2.0-0.2.beta.1.fc21.x86_64.
>
> [john at testbox ~]$ weston --backend=rdp-backend.so
> Date: 2015-01-24 CST
> [19:45:10.728] weston 1.6.0
>                http://wayland.freedesktop.org/
>                Bug reports to:
> https://bugs.freedesktop.org/enter_bug.cgi?product=Wayland&component=weston&version=1.6.0
>                Build: 1.5.93-5-g2858cc2 configure.ac: bump version to
> 1.6.0 (2014-09-19 13:40:14 +0300)
> [19:45:10.728] OS: Linux, 3.17.7-300.fc21.x86_64, #1 SMP Wed Dec 17
> 03:08:44 UTC 2014, x86_64
> [19:45:10.730] Starting with no config file.
> [19:45:10.730] Loading module '/usr/lib64/weston/rdp-backend.so'
> [19:45:10.828] using FreeRDP version 1.2.0
> Listening on 0.0.0.0 port 3389.
> bind: Address already in use
> [19:45:10.834] Compositor capabilities:
>                arbitrary surface rotation: yes
>                screen capture uses y-flip: yes
> [19:45:10.835] Loading module '/usr/lib64/weston/desktop-shell.so'
> [19:45:10.840] launching '/usr/libexec/weston-desktop-shell'
>
> <------ time to launch RDP client ------>
>
> [19:45:40.336] launching '/usr/libexec/weston-keyboard'
> Client Security: NLA:1 TLS:1 RDP:0
> Server Security: NLA:0 TLS:0 RDP:1
> Negotiated Security: NLA:0 TLS:0 RDP:1
> [19:45:40.339] unable to checkDescriptor for 0x1758cf0
>
> <------ remote identity can't be confirm. Continue anyway message on
> Client ------>
>
> [19:46:21.892] caught signal: 11
> [19:46:21.893] 0: weston (weston_log_continue+0x1757) [0x40b347]
> [19:46:21.896] 1: /lib64/libc.so.6 (__restore_rt+0x0) [0x382d63494f]
> [19:46:21.898] 2: /lib64/libwayland-server.so.0 (wl_list_insert+0x13)
> [0x3840a0b353]
> [19:46:21.898] 3: weston (weston_seat_init+0xd3) [0x412d33]
> [19:46:21.900] 4: /usr/lib64/weston/rdp-backend.so (_init+0x13f9)
> [0x7fe66e6be769]
> [19:46:21.902] 5: /lib64/libfreerdp-core.so.1.2
> (freerdp_listener_get_event_handles+0x196) [0x38c6e60546]
> [19:46:21.905] 6: /usr/lib64/weston/rdp-backend.so (_init+0x152a)
> [0x7fe66e6beb2a]
> [19:46:21.906] 7: /lib64/libwayland-server.so.0
> (wl_event_loop_dispatch+0x72) [0x3840a08fa2]
> [19:46:21.908] 8: /lib64/libwayland-server.so.0 (wl_display_run+0x25)
> [0x3840a076f5]
> [19:46:21.909] 9: weston (_init+0x14d9) [0x408ab9]
> [19:46:21.910] 10: /lib64/libc.so.6 (__libc_start_main+0xf0) [0x382d61ffe0]
> [19:46:21.911] 11: weston (_start+0x29) [0x4080b4]
> [19:46:21.913] 12: ? (?+0x29) [0x29]
>
>
> Lets try with a certificate instead.
> [john at testbox ~]$ openssl genrsa -out private.pem 2048
> [john at testbox ~]$ openssl req -new -x509 -key private.pem -out cert.pem
> -days 1234
> [john at testbox ~]$ weston --backend=rdp-backend.so --port=3389
> --rdp-tls-cert=cert.pem --rdp-tls-key=private.pem --width=800 --height=600
> Date: 2015-01-24 CST
> [19:47:31.387] weston 1.6.0
>                http://wayland.freedesktop.org/
>                Bug reports to:
> https://bugs.freedesktop.org/enter_bug.cgi?product=Wayland&component=weston&version=1.6.0
>                Build: 1.5.93-5-g2858cc2 configure.ac: bump version to
> 1.6.0 (2014-09-19 13:40:14 +0300)
> [19:47:31.388] OS: Linux, 3.17.7-300.fc21.x86_64, #1 SMP Wed Dec 17
> 03:08:44 UTC 2014, x86_64
> [19:47:31.388] Starting with no config file.
> [19:47:31.389] Loading module '/usr/lib64/weston/rdp-backend.so'
> [19:47:31.457] using FreeRDP version 1.2.0
> [19:47:31.457] TLS support activated
> Listening on 0.0.0.0 port 3389.
> bind: Address already in use
> [19:47:31.459] Compositor capabilities:
>                arbitrary surface rotation: yes
>                screen capture uses y-flip: yes
> [19:47:31.460] Loading module '/usr/lib64/weston/desktop-shell.so'
> [19:47:31.467] launching '/usr/libexec/weston-desktop-shell'
>
> <------ time to launch RDP client ------>
>
> [19:47:56.747] launching '/usr/libexec/weston-keyboard'
> Client Security: NLA:1 TLS:1 RDP:0
> Server Security: NLA:0 TLS:1 RDP:1
> Negotiated Security: NLA:0 TLS:1 RDP:0
>
> <------ certificate warning on client due to self signed ------->
>
> Client Security: NLA:1 TLS:1 RDP:0
> Server Security: NLA:0 TLS:1 RDP:1
> Negotiated Security: NLA:0 TLS:1 RDP:0
> Accepted client: PER-HP
> Accepted channels: rdpdr rdpsnd cliprdr drdynvc
> [19:48:44.380] kbd_layout:40c kbd_type:4 kbd_subType:0 kbd_functionKeys:c
> [19:48:44.380] xf_peer_post_connect: matching layout=se variant=(null)
> [19:48:44.809] unable to checkDescriptor for 0x2313e30
> [19:48:44.821] unable to checkDescriptor for 0x2285d70
> [19:48:44.823] libwayland: dup failed: Bad file descriptor[19:48:44.823]
> caught signal: 6
> [19:48:44.824] 0: weston (weston_log_continue+0x1757) [0x40b347]
> [19:48:44.825] 1: /lib64/libc.so.6 (__restore_rt+0x0) [0x382d63494f]
> [19:48:44.827] 2: /lib64/libc.so.6 (gsignal+0x37) [0x382d6348c7]
> [19:48:44.828] 3: /lib64/libc.so.6 (abort+0x16a) [0x382d63652a]
> [19:48:44.830] 4: /lib64/libwayland-server.so.0
> (wl_event_loop_get_destroy_listener+0x134a) [0x3840a0b45a]
> [19:48:44.831] 5: /lib64/libwayland-server.so.0
> (wl_resource_post_event_array+0x22) [0x3840a06782]
> [19:48:44.833] 6: /lib64/libwayland-server.so.0
> (wl_resource_post_event+0xea) [0x3840a068fa]
> [19:48:44.834] 7: weston (weston_load_module+0x12b7) [0x411437]
> [19:48:44.835] 8: /lib64/libffi.so.6 (ffi_call_unix64+0x4c) [0x3830605d60]
> [19:48:44.836] 9: /lib64/libffi.so.6 (ffi_call+0x2e1) [0x38306057d1]
> [19:48:44.838] 10: /lib64/libwayland-server.so.0
> (wl_event_loop_get_destroy_listener+0x1cad) [0x3840a0c82d]
> [19:48:44.840] 11: /lib64/libwayland-server.so.0 (wl_client_destroy+0x266)
> [0x3840a07256]
> [19:48:44.842] 12: /lib64/libwayland-server.so.0
> (wl_event_loop_dispatch+0x72) [0x3840a08fa2]
> [19:48:44.843] 13: /lib64/libwayland-server.so.0 (wl_display_run+0x25)
> [0x3840a076f5]
> [19:48:44.844] 14: weston (_init+0x14d9) [0x408ab9]
> [19:48:44.845] 15: /lib64/libc.so.6 (__libc_start_main+0xf0) [0x382d61ffe0]
> [19:48:44.846] 16: weston (_start+0x29) [0x4080b4]
> [19:48:44.848] 17: ? (?+0x29) [0x29]
>
>
> _______________________________________________
> wayland-devel mailing list
> wayland-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/wayland-devel
>
>


-- 
Regards,



*Manuel BACHMANN Tizen Project VANNES-FR*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/wayland-devel/attachments/20150127/d92492ea/attachment-0001.html>


More information about the wayland-devel mailing list