View Issue Details

IDProjectCategoryView StatusLast Update
0009197Kali LinuxKali Package Bugpublic2025-05-30 02:16
Reporterpood0g Assigned To 
PrioritynormalSeverityminorReproducibilityhave not tried
Status newResolutionopen 
Summary0009197: freerdp3 missing library librdp2tcp-client.so
Description

Hi Bug fixers,

freerdp2 is no longer available in the Kali repo.

This in itself is not an issue however freerdp3 contains a bug where the following error message is observed

xfreerdp3 /v:127.0.0.1 /u:'xxxxxx' /d:'xxxx' /cert:ignore /dynamic-resolution /rdp2tcp:"rdp2tcp"
[09:55:59:528] [9945:000026da] [WARN][com.freerdp.client.x11] - [load_map_from_xkbfile]: : keycode: 0x08 -> no RDP scancode found
[09:55:59:528] [9945:000026da] [WARN][com.freerdp.client.x11] - [load_map_from_xkbfile]: : keycode: 0x5D -> no RDP scancode found
[09:55:59:529] [9945:000026da] [ERROR][com.winpr.library] - [LoadLibraryA]: failed with /usr/lib/x86_64-linux-gnu/freerdp3/librdp2tcp-client.so: cannot open shared object file: No such file or directory
[09:55:59:529] [9945:000026da] [WARN][com.freerdp.addin] - [freerdp_load_channel_addin_entry]: Failed to load channel rdp2tcp [(null)]
[09:55:59:529] [9945:000026da] [ERROR][com.winpr.library] - [LoadLibraryA]: failed with /usr/lib/x86_64-linux-gnu/freerdp3/librdp2tcp-client.so: cannot open shared object file: No such file or directory
[09:55:59:529] [9945:000026da] [WARN][com.freerdp.addin] - [freerdp_load_channel_addin_entry]: Failed to load channel rdp2tcp [(null)]
[09:55:59:531] [9945:000026da] [ERROR][com.freerdp.client.common] - [freerdp_client_load_channels]: Failed to load addins [00000000]
[09:55:59:531] [9945:000026da] [ERROR][com.freerdp.core] - [freerdp_connect_begin]: ERRCONNECT_PRE_CONNECT_FAILED [0x00020001]
[09:55:59:531] [9945:000026da] [ERROR][com.freerdp.core] - [freerdp_connect_begin]: freerdp_pre_connect failed: CLIENT_STATE_PRECONNECT_PASSED

Attached Files
image.png (115,841 bytes)   
image.png (115,841 bytes)   

Activities

arnaudr

arnaudr

2025-05-27 04:33

manager   ~0020640

Thanks for the report.

I forwarded the issue to the Debian bug tracker: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1106607

I uploaded a tentative fix in Kali, please update your system (I assume you run kali-rolling), you should see an update of the freerdp3 packages, version 3.15.0+dfsg-2.1kali1. Please tell me if that fixes the issue. (The update should be available in ~ 2 hours or so).

pood0g

pood0g

2025-05-28 23:15

reporter   ~0020641

Hi arnaudr,

I can see the shared object library is now included in the build.

However the rdp2tcp functionality in xfreerdp3 appears to not be fully functional.

I note the following error lines in the console output, which may or may not be related:

[ERROR][TODO] - [SetHandleInformation]: TODO: Implement

pood0g

pood0g

2025-05-28 23:36

reporter   ~0020642

A quick look at the freerdp3 source code refeals that this feature is most likely disabled in xfreerdp3 due to it being incomplete.

AFAICT The function "SetHandleInformation" in the file "/winpr/libwinpr/handle/handle.c" will need to be implemented as it is used twice in the rdp2tcp client "/channels/rdp2tcp/client/rdp2tcp_main.c".

In freerdp2 this function simply returns true.

arnaudr

arnaudr

2025-05-29 01:22

manager   ~0020643

I wonder if the issue is tracked upstream, searching for rdp2tcp at https://github.com/FreeRDP/FreeRDP/issues returns only one result, and it doesn't seem to be related.

pood0g

pood0g

2025-05-30 00:18

reporter   ~0020645

I can confirm after a day or so of testing that despite the "ERROR" message rdp2tcp works as reliably and as effectively as it always did. Which is highly dependent on network conditions.

arnaudr

arnaudr

2025-05-30 02:16

manager   ~0020646

Oh, so you mean that the error messages are harmless? Ok ok, will update again the Debian bug. We'll keep building freerdp3 with rdp2tcp support in Kali, and hopefully Debian will do the same soon-ish.

Thanks very much for following up with that!

Issue History

Date Modified Username Field Change
2025-05-27 00:08 pood0g New Issue
2025-05-27 00:08 pood0g File Added: image.png
2025-05-27 04:33 arnaudr Note Added: 0020640
2025-05-28 23:15 pood0g Note Added: 0020641
2025-05-28 23:36 pood0g Note Added: 0020642
2025-05-29 01:22 arnaudr Note Added: 0020643
2025-05-30 00:18 pood0g Note Added: 0020645
2025-05-30 02:16 arnaudr Note Added: 0020646