<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - RDP compositor fails to establish connection (unable to checkDescriptor)"
href="https://bugs.freedesktop.org/show_bug.cgi?id=71986">71986</a>
</td>
</tr>
<tr>
<th>Assignee</th>
<td>wayland-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Summary</th>
<td>RDP compositor fails to establish connection (unable to checkDescriptor)
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux (All)
</td>
</tr>
<tr>
<th>Reporter</th>
<td>public@hansmi.ch
</td>
</tr>
<tr>
<th>Hardware</th>
<td>x86 (IA32)
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Version</th>
<td>1.3.0
</td>
</tr>
<tr>
<th>Component</th>
<td>weston
</td>
</tr>
<tr>
<th>Product</th>
<td>Wayland
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="attachment.cgi?id=89742" name="attach_89742" title="Debug log">attachment 89742</a> <a href="attachment.cgi?id=89742&action=edit" title="Debug log">[details]</a></span>
Debug log
TL;DR: RDP compositor fails with “unable to checkDescriptor for {RDP peer
context address}”
Operating system: Debian GNU/Linux 7.2 (wheezy)
Manually compiled components:
FreeRDP commit d2a9df1ce0 (last commit on stable-1.1 branch as of this writing)
xkbcommon 0.3.2
Mesa 9.2.3
Wayland 1.3.0
Weston 1.3.1
I have tried using xfreerdp, rdesktop and Microsoft's Remote Desktop
application for Mac OS X as clients. When connecting, Weston logs “unable to
checkDescriptor for {RDP peer context address}” and nothing else happens. When
I connect a second time, Weston crashes due to a double-free. From looking at
the code I *think* it's an issue in the interaction between the RDP compositor
and FreeRDP, but I'm not sure. Below you find the standard output. A debug log
is attached.
$ ./weston --backend=rdp-backend.so --port=3391 --rdp-tls-cert=../tls.pem
--rdp-tls-key=../tls.pem --width=800 --height=600
Date: 2013-11-25 CET
[13:32:50.064] weston 1.3.1
<a href="http://wayland.freedesktop.org/">http://wayland.freedesktop.org/</a>
Bug reports to:
<a href="https://bugs.freedesktop.org/enter_bug.cgi?product=Wayland&component=weston&version=1.3.1">https://bugs.freedesktop.org/enter_bug.cgi?product=Wayland&component=weston&version=1.3.1</a>
Build:
[13:32:50.066] OS: Linux, 3.2.0-4-686-pae, #1 SMP Debian 3.2.51-1, i686
[13:32:50.067] Using config file '/home/[…]/.config/weston.ini'
[13:32:50.068] Loading module
'[…]/data/wayland/install/lib/weston/rdp-backend.so'
[13:32:50.083] using FreeRDP version 1.1.0
[13:32:50.085] TLS support activated
Listening on 0.0.0.0 port 3391.
bind: Address already in use
[13:32:50.088] Loading module
'[…]/data/wayland/install/lib/weston/desktop-shell.so'
[13:32:50.090] Compositor capabilities:
arbitrary surface rotation: yes
screen capture uses y-flip: yes
[13:32:50.091] libwayland: using socket /tmp/1000-runtime-dir/wayland-0
[13:32:50.117] launching
'[…]/data/wayland/install/libexec/weston-desktop-shell'
[13:32:52.023] launching '[…]/data/wayland/install/libexec/weston-keyboard'
Client Security: NLA:0 TLS:1 RDP:0
Server Security: NLA:0 TLS:1 RDP:1
Negotiated Security: NLA:0 TLS:1 RDP:0
SSL_CTX_use_RSAPrivateKey_file failed
PrivateKeyFile: ../tls.pem
[13:32:52.040] unable to checkDescriptor for 0x8bd6b98</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>