Skip to content

RDCMan HiDPI problem on RDP #730

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
lanmaster opened this issue Sep 19, 2023 · 5 comments
Closed

RDCMan HiDPI problem on RDP #730

lanmaster opened this issue Sep 19, 2023 · 5 comments

Comments

@lanmaster
Copy link

Local PC: Windows 10, 4K monitor (resolution 3840x2160), display scaling 150%
Remote PC: Windows 10, FullHD notebook (1920x1080), display scaling 100% or 125% (not sure)

  1. With custom resolution
    изображение
    1.1. Local display scale 100%. It is pixel to pixel equals with remote screen. There is no scroll bars, but black lines on top and bottom, i think it is (2160-2048) / 2 = 56 pixels height on each line.
    изображение
    1.2. Local display scale 150%. There is scrollbars visible.
    изображение

  2. With fullscreen resolution
    изображение

2.1. Local display scale 100%. It is pixel to pixel equals with remote screen. There is no scroll bars, but black lines on top and bottom
изображение
2.2. Local display scale 150%. There is scrollbars visible. Is it recalculated resolution? It is strange because i didn't change local resolution.
изображение
And it is blurry (no pixel to pixel equality):
изображение
изображение

How to remove this blurry effect and get pixel to pixel equality?
RDCMan is the only useful remote screen utility for me. Please help me fix this issue.

@lanmaster
Copy link
Author

#676

@mariobesen
Copy link

For this reason I switched to Remote Desktop Manager by Devolutions. Yeah it's slow and feels bloated, but at least RDP connections are DPI aware and I can see sharp text and icons on my 4k screen.

For comparison, this is how blurry RDP connection looks (left) versus my monitor scaling (right):

image

@rurasov
Copy link

rurasov commented Jun 26, 2024

To avoid blurring in RDCMAN, you need to change in the compatibility tab > Change high DPI settings - overide high dpi scaling override - application. In this case there will be no blurring, but also the controls in RDCMAN itself will not match the current dpi.
If you are not satisfied with this,

  1. Open rdcman.exe with an archiver (e.g. 7-zip),
  2. Locate the manifest file at the path: .\rsrc\MANIFEST\1 and extract it to any location on the system
  3. Open extracted manifest in any text editor.
  4. Remove node
    <gdiScaling xmlns="http://schemas.microsoft.com/SMI/2017/WindowsSettings">true</gdiScaling>
    and remove PerMonitorV2 in node
    <dpiAwareness xmlns="http://schemas.microsoft.com/SMI/2016/WindowsSettings">PerMonitorV2, system</dpiAwareness>
  5. Save changes.
  6. Next, open cmd or powershell as administrator and use the mt.exe utility from Windows Kits.
    (C:\Program Files (x86)\Windows Kits\10\bin\Version\x86) replace the edited manifest in RdcMan.exe.
    mt.exe -manifest "PathManifest" -outputresource: "PathRdcman.exe"

These steps will start rdcman using the system DpiAwarness mode.
If done correctly, all elements on the form will be scaled to the current DPI.
Unfortunately, the DPI settings will not be thrown into the RDP session. To fix this problem, we will have to edit the source code.

@lanmaster
Copy link
Author

Maybe the problem will be solved in future releases? I will wait for it. And also save this workaround for the future. Thanks!

@foxmsft
Copy link
Collaborator

foxmsft commented Apr 24, 2025

This will be fixed in the next release, thanks for the feedback!

@foxmsft foxmsft closed this as completed Apr 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants