SUMMARY As a user with 2 screens, I'm unable to start a KRdp session because the combined size of the 2 screens is more than what the hardware is able to encode. STEPS TO REPRODUCE 1. Enable Remote Desktop on a computer (the server), make sure that the krdpserver process is running 2. Connect 2 screens to the server, to create a desktop wide enough (5120 pixels in my case) 3. Try to connect from a remote system OBSERVED RESULT The RDP window on the remote system appears for a split second and then closes; a log on the remote system states "The disconnection was initiated by the user logging off their session on the server". A log entry on the server states: Oct 15 14:07:05 cobalt krdpserver[274114]: [h264_vaapi @ 0x7f84f422ec80] Hardware does not support encoding at size 5120x1440 (constraints: width 256-4096 height 128-2304). DESIRED RESULT If I could choose to share one screen on krdpserver, instead of the whole desktop, then the video hardware would be able to keep up and RDP connection could be established. SOFTWARE/OS VERSIONS Operating System: Fedora Linux 40 KDE Plasma Version: 6.2.0 KDE Frameworks Version: 6.7.0 Qt Version: 6.7.2 Kernel Version: 6.10.12-200.fc40.x86_64 (64-bit) Graphics Platform: Wayland Processors: 8 × AMD Ryzen 3 4300GE with Radeon Graphics Memory: 30.7 GiB of RAM Graphics Processor: AMD Radeon Graphics
According to https://invent.kde.org/plasma/krdp#command-line-options you can use `--monitor` option in KRdp – "The index of the monitor to use for streaming video. If not supplied the whole workspace is used."
(In reply to Piotr Dobrogost from comment #1) > According to https://invent.kde.org/plasma/krdp#command-line-options you can > use `--monitor` option in KRdp – "The index of the monitor to use for > streaming video. If not supplied the whole workspace is used." Thanks, I've been able to establish a RDP connection by launching krdpserver as follows krdpserver \ --username myuser \ --password mypassword \ --certificate mycert.cer \ --certificate-key mycert.key \ --monitor 0 This showed my main monitor successfully on the client. The krdp package I have installed today in my Fedora boxes is version 6.3.3-1.fc41.
> Thanks, I've been able to establish a RDP connection by launching krdpserver as follows Are you starting KRdp manually? You can turn "Autostart on login" option in System Settings -> Remote Desktop.
Unfortunately the Remote Desktop control panel does not offer the option to choose a monitor, and thus the "Autostart on login" doesn't really work for me. However, I've been able to define a systemd user service to start krdpserver with the options I need.
I think you should be able to set your ExecStart in a drop-in file without creating new service file. The unit is at /usr/lib/systemd/user/app-org.kde.krdpserver.service so the drop-in file should be placed inside ~/.config/systemd/user/app-org.kde.krdpserver directory. This has the advantage of keeping in sync with eventual, future upstream changes to the unit.
Piotr, Thanks for your assistance, I got remote desktop working acceptably with Fedora 41. I think that this bug can be closed now.
Hi - just to check, while it sounds like there's a solution for you using a manually-created drop-in file, is the feature request here of having a "choose screen" option presented in System Settings > Remote Desktop still potentially valid? Thanks!
🐛🧹 ⚠️ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME. For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging. Thank you for helping us make KDE software even better for everyone!
(In reply to John Kizer from comment #7) > Hi - just to check, while it sounds like there's a solution for you using a > manually-created drop-in file, is the feature request here of having a > "choose screen" option presented in System Settings > Remote Desktop still > potentially valid? Yes, the feature request to have the ability to choose a screen for krdpserver to show is still valid.