<div dir="ltr"><div><div>Hi John,<br><br></div>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 :<br><br><a href="https://wiki.tizen.org/wiki/Weston_RDP_access">https://wiki.tizen.org/wiki/Weston_RDP_access</a><br><br></div>(the "winpr-makecert" tool should be build in one the "winpr" subdirectories)<br></div><div class="gmail_extra"><br><div class="gmail_quote">2015-01-24 20:00 GMT+01:00 John Obaterspok <span dir="ltr"><<a href="mailto:john.obaterspok@gmail.com" target="_blank">john.obaterspok@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hello,<div><br></div><div>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.</div><div><br></div><div><div>[john@testbox ~]$ weston --backend=rdp-backend.so</div><div>Date: 2015-01-24 CST</div><div>[19:45:10.728] weston 1.6.0</div><div> <a href="http://wayland.freedesktop.org/" target="_blank">http://wayland.freedesktop.org/</a></div><div> Bug reports to: <a href="https://bugs.freedesktop.org/enter_bug.cgi?product=Wayland&component=weston&version=1.6.0" target="_blank">https://bugs.freedesktop.org/enter_bug.cgi?product=Wayland&component=weston&version=1.6.0</a></div><div> Build: 1.5.93-5-g2858cc2 <a href="http://configure.ac" target="_blank">configure.ac</a>: bump version to 1.6.0 (2014-09-19 13:40:14 +0300)</div><div>[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</div><div>[19:45:10.730] Starting with no config file.</div><div>[19:45:10.730] Loading module '/usr/lib64/weston/rdp-backend.so'</div><div>[19:45:10.828] using FreeRDP version 1.2.0</div><div>Listening on 0.0.0.0 port 3389.</div><div>bind: Address already in use</div><div>[19:45:10.834] Compositor capabilities:</div><div> arbitrary surface rotation: yes</div><div> screen capture uses y-flip: yes</div><div>[19:45:10.835] Loading module '/usr/lib64/weston/desktop-shell.so'</div><div>[19:45:10.840] launching '/usr/libexec/weston-desktop-shell'</div><div><br></div><div><------ time to launch RDP client ------></div><div><br></div><div>[19:45:40.336] launching '/usr/libexec/weston-keyboard'</div><div>Client Security: NLA:1 TLS:1 RDP:0</div><div>Server Security: NLA:0 TLS:0 RDP:1</div><div>Negotiated Security: NLA:0 TLS:0 RDP:1</div><div>[19:45:40.339] unable to checkDescriptor for 0x1758cf0</div><div><br></div><div><------ remote identity can't be confirm. Continue anyway message on Client ------></div><div><br></div><div>[19:46:21.892] caught signal: 11</div><div>[19:46:21.893] 0: weston (weston_log_continue+0x1757) [0x40b347]</div><div>[19:46:21.896] 1: /lib64/libc.so.6 (__restore_rt+0x0) [0x382d63494f]</div><div>[19:46:21.898] 2: /lib64/libwayland-server.so.0 (wl_list_insert+0x13) [0x3840a0b353]</div><div>[19:46:21.898] 3: weston (weston_seat_init+0xd3) [0x412d33]</div><div>[19:46:21.900] 4: /usr/lib64/weston/rdp-backend.so (_init+0x13f9) [0x7fe66e6be769]</div><div>[19:46:21.902] 5: /lib64/libfreerdp-core.so.1.2 (freerdp_listener_get_event_handles+0x196) [0x38c6e60546]</div><div>[19:46:21.905] 6: /usr/lib64/weston/rdp-backend.so (_init+0x152a) [0x7fe66e6beb2a]</div><div>[19:46:21.906] 7: /lib64/libwayland-server.so.0 (wl_event_loop_dispatch+0x72) [0x3840a08fa2]</div><div>[19:46:21.908] 8: /lib64/libwayland-server.so.0 (wl_display_run+0x25) [0x3840a076f5]</div><div>[19:46:21.909] 9: weston (_init+0x14d9) [0x408ab9]</div><div>[19:46:21.910] 10: /lib64/libc.so.6 (__libc_start_main+0xf0) [0x382d61ffe0]</div><div>[19:46:21.911] 11: weston (_start+0x29) [0x4080b4]</div><div>[19:46:21.913] 12: ? (?+0x29) [0x29]</div><div><br></div><div><br></div><div>Lets try with a certificate instead.</div><div>[john@testbox ~]$ openssl genrsa -out private.pem 2048</div><div>[john@testbox ~]$ openssl req -new -x509 -key private.pem -out cert.pem -days 1234</div><div>[john@testbox ~]$ weston --backend=rdp-backend.so --port=3389 --rdp-tls-cert=cert.pem --rdp-tls-key=private.pem --width=800 --height=600</div><div>Date: 2015-01-24 CST</div><div>[19:47:31.387] weston 1.6.0</div><div> <a href="http://wayland.freedesktop.org/" target="_blank">http://wayland.freedesktop.org/</a></div><div> Bug reports to: <a href="https://bugs.freedesktop.org/enter_bug.cgi?product=Wayland&component=weston&version=1.6.0" target="_blank">https://bugs.freedesktop.org/enter_bug.cgi?product=Wayland&component=weston&version=1.6.0</a></div><div> Build: 1.5.93-5-g2858cc2 <a href="http://configure.ac" target="_blank">configure.ac</a>: bump version to 1.6.0 (2014-09-19 13:40:14 +0300)</div><div>[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</div><div>[19:47:31.388] Starting with no config file.</div><div>[19:47:31.389] Loading module '/usr/lib64/weston/rdp-backend.so'</div><div>[19:47:31.457] using FreeRDP version 1.2.0</div><div>[19:47:31.457] TLS support activated</div><div>Listening on 0.0.0.0 port 3389.</div><div>bind: Address already in use</div><div>[19:47:31.459] Compositor capabilities:</div><div> arbitrary surface rotation: yes</div><div> screen capture uses y-flip: yes</div><div>[19:47:31.460] Loading module '/usr/lib64/weston/desktop-shell.so'</div><div>[19:47:31.467] launching '/usr/libexec/weston-desktop-shell'</div><div><br></div><div><------ time to launch RDP client ------></div><div><br></div><div>[19:47:56.747] launching '/usr/libexec/weston-keyboard'</div><div>Client Security: NLA:1 TLS:1 RDP:0</div><div>Server Security: NLA:0 TLS:1 RDP:1</div><div>Negotiated Security: NLA:0 TLS:1 RDP:0</div><div><br></div><div><------ certificate warning on client due to self signed -------></div><div><br></div><div>Client Security: NLA:1 TLS:1 RDP:0</div><div>Server Security: NLA:0 TLS:1 RDP:1</div><div>Negotiated Security: NLA:0 TLS:1 RDP:0</div><div>Accepted client: PER-HP</div><div>Accepted channels: rdpdr rdpsnd cliprdr drdynvc</div><div>[19:48:44.380] kbd_layout:40c kbd_type:4 kbd_subType:0 kbd_functionKeys:c</div><div>[19:48:44.380] xf_peer_post_connect: matching layout=se variant=(null)</div><div>[19:48:44.809] unable to checkDescriptor for 0x2313e30</div><div>[19:48:44.821] unable to checkDescriptor for 0x2285d70</div><div>[19:48:44.823] libwayland: dup failed: Bad file descriptor[19:48:44.823] caught signal: 6</div><div>[19:48:44.824] 0: weston (weston_log_continue+0x1757) [0x40b347]</div><div>[19:48:44.825] 1: /lib64/libc.so.6 (__restore_rt+0x0) [0x382d63494f]</div><div>[19:48:44.827] 2: /lib64/libc.so.6 (gsignal+0x37) [0x382d6348c7]</div><div>[19:48:44.828] 3: /lib64/libc.so.6 (abort+0x16a) [0x382d63652a]</div><div>[19:48:44.830] 4: /lib64/libwayland-server.so.0 (wl_event_loop_get_destroy_listener+0x134a) [0x3840a0b45a]</div><div>[19:48:44.831] 5: /lib64/libwayland-server.so.0 (wl_resource_post_event_array+0x22) [0x3840a06782]</div><div>[19:48:44.833] 6: /lib64/libwayland-server.so.0 (wl_resource_post_event+0xea) [0x3840a068fa]</div><div>[19:48:44.834] 7: weston (weston_load_module+0x12b7) [0x411437]</div><div>[19:48:44.835] 8: /lib64/libffi.so.6 (ffi_call_unix64+0x4c) [0x3830605d60]</div><div>[19:48:44.836] 9: /lib64/libffi.so.6 (ffi_call+0x2e1) [0x38306057d1]</div><div>[19:48:44.838] 10: /lib64/libwayland-server.so.0 (wl_event_loop_get_destroy_listener+0x1cad) [0x3840a0c82d]</div><div>[19:48:44.840] 11: /lib64/libwayland-server.so.0 (wl_client_destroy+0x266) [0x3840a07256]</div><div>[19:48:44.842] 12: /lib64/libwayland-server.so.0 (wl_event_loop_dispatch+0x72) [0x3840a08fa2]</div><div>[19:48:44.843] 13: /lib64/libwayland-server.so.0 (wl_display_run+0x25) [0x3840a076f5]</div><div>[19:48:44.844] 14: weston (_init+0x14d9) [0x408ab9]</div><div>[19:48:44.845] 15: /lib64/libc.so.6 (__libc_start_main+0xf0) [0x382d61ffe0]</div><div>[19:48:44.846] 16: weston (_start+0x29) [0x4080b4]</div><div>[19:48:44.848] 17: ? (?+0x29) [0x29]</div></div><div><br></div></div>
<br>_______________________________________________<br>
wayland-devel mailing list<br>
<a href="mailto:wayland-devel@lists.freedesktop.org">wayland-devel@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/wayland-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/wayland-devel</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature"><div dir="ltr"><font>Regards,<br>
<br>
<i><b>Manuel BACHMANN</b><br>
Tizen Project<br>
VANNES-FR</i><br>
</font></div></div>
</div>