Cannot copy/paste between RDP sessions Fedora 40 FreeRDP 3

I just in-place updated from Fedora 39 to 40. This machine is my daily driver. For work, I manage many Windows servers remotely via RDP using FreeRDP. Been doing this for years. Desktop environment is XFCE, X11.

Looks like F40 ships with FreeRDP v3. Specifically, the package has version: 2:3.4.0-1.fc40. F39 was using version 2.11.2-1.fc39.

Noticed today that I can no longer copy text in one RDP session and paste it into another. This is something I need to do frequently.

Is there some way to make this work with FreeRDP 3? I’ve spent most of the day scouring the webs and experimenting with no luck.

I am able to copy from any RDP session and paste into, like, gedit on my Fedora system, and I can copy from my Fedora system and paste into any RDP session, so I know RDP clipboard functionality generally works, but I can’t copy and paste directly between RDP sessions.

Here are the options I use with FreeRDP:

(this is in a script that collects login data from the user)

Params="/size:${SizeXScaled}x${SizeYScaled} \
        /scale:100 \
        /scale-desktop:$Scale \
        /audio-mode:1 \
        /bpp:16 \
        /gdi:hw \
        /rfx \
        /network:auto \
        /clipboard \
        +window-drag \
        /sec:tls:on \
        /sec:rdp:off \
        /sec:nla:on \
        /cert:ignore \
        /v:$Server_Name \
        /u:$User_Name \
        /d:$Domain \
        /p:$Password "

 (then FreeRDP is invoked with:)

xfreerdp $Params

I tried switching to KDE Plasma 6/Wayland, no change. Back to XFCE…

As a workaround I fell back to FreeRDP 2:

I uninstalled these packages:

freerdp.x86_64        2:3.4.0-1.fc40
freerdp-libs.x86_64   2:3.4.0-1.fc40
freerdp2-libs.x86_64  2.11.5-1.fc40

Which also removed these:

gnome-connections                         x86_64         46.0-3.fc40
gnome-remote-desktop                      x86_64         46.0-1.fc40
initial-setup-gui                         x86_64         0.3.100-3.fc40
initial-setup-gui-wayland-generic         x86_64         0.3.100-3.fc40  
SDL2_ttf                                  x86_64         2.22.0-2.fc40
aml                                       x86_64         0.3.0-4.fc40
cjson                                     x86_64         1.7.17-1.fc40
gvncpulse                                 x86_64         1.3.1-5.fc40
initial-setup                             x86_64         0.3.100-3.fc40
libseat                                   x86_64         0.8.0-2.fc40
libwinpr                                  x86_64         2:3.4.0-1.fc40
libwinpr2                                 x86_64         2.11.5-1.fc40
neatvnc                                   x86_64         0.8.0-2.fc40
turbojpeg                                 x86_64         3.0.2-1.fc40
uriparser                                 x86_64         0.9.7-5.fc40
weston                                    x86_64         13.0.0-5.fc40
weston-libs                               x86_64         13.0.0-5.fc40

I downloaded these from a Fedora 39 mirror and installed:

freerdp-2.11.2-1.fc39.x86_64.rpm 
freerdp-libs-2.11.2-1.fc39.x86_64.rpm 
freerdp-devel-2.11.2-1.fc39.x86_64.rpm 
libwinpr-2.11.2-1.fc39.x86_64.rpm 
libwinpr-devel-2.11.2-1.fc39.x86_64.rpm

Which also installed:

 cmake                         x86_64            3.28.2-1.fc40
 cmake-data                    noarch            3.28.2-1.fc40
 jsoncpp                       x86_64            1.9.5-7.fc40
 libffi-devel                  x86_64            3.4.4-7.fc40
 libicu73                      x86_64            73.2-1.fc40
 libxkbcommon-devel            x86_64            1.6.0-2.fc40
 libxml2-devel                 x86_64            2.12.6-1.fc40
 rhash                         x86_64            1.4.3-4.fc40
 wayland-devel                 x86_64            1.22.0-3.fc40
 xz-devel                      x86_64            1:5.4.6-3.fc40

I then reinstalled these:

initial-setup-gui                         x86_64         0.3.100-3.fc40
initial-setup-gui-wayland-generic         x86_64         0.3.100-3.fc40  
SDL2_ttf                                  x86_64         2.22.0-2.fc40
aml                                       x86_64         0.3.0-4.fc40
cjson                                     x86_64         1.7.17-1.fc40
gvncpulse                                 x86_64         1.3.1-5.fc40
initial-setup                             x86_64         0.3.100-3.fc40
libseat                                   x86_64         0.8.0-2.fc40
neatvnc                                   x86_64         0.8.0-2.fc40
turbojpeg                                 x86_64         3.0.2-1.fc40
uriparser                                 x86_64         0.9.7-5.fc40
weston                                    x86_64         13.0.0-5.fc40
weston-libs                               x86_64         13.0.0-5.fc40

I didn’t reinstall these because they wanted to overwrite FreeRDP v2 with v3, and I don’t use these that I know of:

gnome-connections
gnome-remote-desktop

With this, my expected functionality is restored: I can copy text in one RDP session and paste it anywhere: another RDP session, my Fedora desktop, etc.

But this is unsupportable moving forward as I’m going to have to guard against these packages from being overwritten.

1 Like