Bug 461127

Summary: KRDC needs the ability to scale the remote desktop's contents
Product: [Applications] krdc Reporter: Thiago Macieira <thiago>
Component: RDPAssignee: Urs Wolfer <uwolfer>
Status: RESOLVED FIXED    
Severity: normal CC: 4wy78uwh, aacid, ctrlaltca, david.r.bergstein
Priority: NOR    
Version First Reported In: 22.08.2   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In: 25.04
Sentry Crash Report:

Description Thiago Macieira 2022-10-28 18:01:26 UTC
SUMMARY
When KRDC is running locally on a High DPI monitor, it does not ask the remote side to scale up using RDP. The VNC plugin has a sliding zoom factor (only available in full screen mode, not in the regular KRDC window, and you zoom in by moving to the left), but no such thing is available for RDP. Instead, it appears the RDP protocol allows passing the scale information to the remote side and the remote will do the necessary scaling.

xfreerdp has the /scale:[100|140|180], /scale-desktop:<percentage> and /scale-device:100|140|180 options. I tried using /scale-desktop and it didn't do anything useful for me; /scale:180 did scale up but 180% is not sufficient for me. rdesktop can be asked to scale up in the -g (geometry) option, as in: -g 3840x2000@200.

STEPS TO REPRODUCE
1. Get a High DPI display
2. Connect to a remote device
3. Attempt to read the text

OBSERVED RESULT
Remote desktop's fonts and icons are too small, text cannot be read.

EXPECTED RESULT
Text is readable, icons have decent target area for clicking.

SOFTWARE/OS VERSIONS
KDE Plasma Version: 5.26.1
KDE Frameworks Version: 5.99.0
Qt Version: 5.15.6
Comment 1 Fabio 2025-03-05 21:29:01 UTC
*** Bug 391536 has been marked as a duplicate of this bug. ***