Bug 509810 - xfreerdp multimon mirrors first monitor across all involved screens
Summary: xfreerdp multimon mirrors first monitor across all involved screens
Status: REPORTED
Alias: None
Product: kwin
Classification: Plasma
Component: multi-screen (other bugs)
Version First Reported In: 6.4.5
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-09-23 00:04 UTC by cvpcsm
Modified: 2025-09-23 13:57 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description cvpcsm 2025-09-23 00:04:52 UTC
SUMMARY
After upgrading to Plasma 6.4 my RDP multimonitor sessions stopped working properly. I was connecting using the FreeRDP flatpak with the xfreerdp command. I would attempt to open a multimonitor session and while the session would open across all displays, the first monitor's display was duplicated across all monitors despite the device I was connected to treating the session as if there were multiple monitors.

STEPS TO REPRODUCE
1. Emerge latest KDE plasma-meta package for 6.4.5
2. Run flatpak run --command=xfreerdp com.freerdp.FreeRDP /multimon /v:<host>

OBSERVED RESULT
RDP window opens on all screens, but all screens display a mirror of the first screen.

EXPECTED RESULT
RDP window opens on all screens, extending the display across all of them.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 6.4
KDE Plasma Version: 6.4.5
KDE Frameworks Version: 6.16
Qt Version: 6.9.2

ADDITIONAL INFORMATION
This appears to be a host display issue, as while the first monitor is mirrored across all screens, the connected computer appears to think the correct number of screens are being displayed and acts accordingly. For example, if you open a window on the first screen and then drag it to the right, the window disappears indicating that the connected computer thinks it has been moved to the second screen, but because the host is displaying a mirror of the first on all monitors we can no longer see the window. I also noticed that the hover preview on the taskbar appeared to show the correct screen layout (extended) when minimized but after restoring it still only showed the mirrored display.

I was able to mask all KDE plasma 6.4 packages and downgrade back to 6.3.6 and the issue went away. I was using the FreeRDP 3.17.1 flatpak for all testing across both versions.
Comment 1 kde.wl7hm 2025-09-23 13:57:04 UTC
I've begun encountering a similar issue this month after updating Fedora 42 Kinoite. I'm utilizing xfreerdp in the FreeRDP flatpak for multi-monitor RDP support. When fullscreened across all (two) monitors, initially it will display both monitors, but after a brief pause the second monitor will be mirroring the contents of the first. If windowed (using Ctrl+Alt+Enter), the window displays the contents of both monitors as expected.

The monitors are in standard orientation, same resolution (2560x1440), and aligned horizontally with no gap or vertical offset. Listing monitors from xfreerdp:

$ flatpak run --command=xfreerdp com.freerdp.FreeRDP /list:monitor
      * [0] 2560x1440   +0+0
        [1] 2560x1440   +2560+0

SOFTWARE/OS VERSIONS

● fedora:fedora/42/x86_64/kinoite
                  Version: 42.20250919.0 (2025-09-19T01:14:44Z)
               BaseCommit: 73e3174486a117beebb0476201838170effdf96a914941eaeaea6237092c544d
             GPGSignature: Valid signature by B0F4950458F69E1150C6C5EDC8AC4916105EF944
      RemovedBasePackages: fdk-aac-free 2.0.0-15.fc42
                           libavdevice-free libavfilter-free libavformat-free ffmpeg-free libpostproc-free libswresample-free libavutil-free libavcodec-free libswscale-free 7.1.1-4.fc42
          LayeredPackages: akmod-nvidia fcitx5-mozc ffmpeg gnome-terminal gstreamer1-plugins-bad-free-extras
                           gstreamer1-plugins-bad-freeworld gstreamer1-plugins-ugly gstreamer1-vaapi ksshaskpass
                           mono-complete rpmfusion-free-release rpmfusion-nonfree-release steam virt-manager virt-viewer
                           waydroid xorg-x11-drv-nvidia xorg-x11-drv-nvidia-cuda

FreeRDP Client - Remote Desktop Protocol Client

          ID: com.freerdp.FreeRDP
         Ref: app/com.freerdp.FreeRDP/x86_64/stable
        Arch: x86_64
      Branch: stable
     Version: 3.17.2
     License: Apache-2.0
      Origin: flathub
  Collection: org.flathub.Stable
Installation: system
   Installed: 18.7 MB
     Runtime: org.freedesktop.Platform/x86_64/24.08
         Sdk: org.freedesktop.Sdk/x86_64/24.08

      Commit: e693dd7a197d848ba3583b7980435d213f31b447260484af64762f354a7fde7d
      Parent: 3aa3924908c3f5cf343089af685f16f7e39d121b4533da8c01bf7556edb748b4
     Subject: Merge pull request #91 from flathub/update-master-4ea1061 (1ce0c572d752)
        Date: 2025-09-19 09:16:44 +0000