RDP window size does not adapt
Describe your issue: After changing the primary monitor resolution from 1920x1080 to 2880x1800, the RDP window size in the secondary monitor does not adapt. The secondary monitor is 1600x900.
Steps to reproduce the issue:
1. 2. 3.
NETworkManager version: 2024.11.11.0 2024.8.1.0
- [√ ] Portable
Windows version (like 10.0.x.x): Win11 23h2 版本 10.0.22631 版本 22631
.NET version (like 6.0.x): 8.0
Screenshots
Eventlog (if application crashes)
Hi @sfwwslm, you can set the display options global, per group and per host.
https://borntoberoot.net/NETworkManager/docs/application/remote-desktop#display
If you change this setting, you must re-establish the connection (open a new tab) for it to be applied.
Maybe the server itself has set a max display resolution. (e.g. https://admx.help/?Category=Windows_10_2016&Policy=Microsoft.Policies.TerminalServer::TS_MAXDISPLAYRES)
You could check this with the normal mstsc.exe.
Edit:
I just tried this, and it's working for me:
@BornToBeRoot Thanks, I used mstsc.exe and it showed normal. I tried custom resolution but it didn't work.
This is my laptop's display configuration
Thanks for the infos. I try to reproduce that
I was able to reproduce the problem. It's due to the display settings/scaling factor (150%, 200%, ...)
I'm not sure how to fix it, but I'll try to look into it when I have more time.
Edit: This also affects PuTTY, PowerShell, TigerVNC, AWS Session Manager
Hello @sfwwslm,
can you test the latest pre release: https://github.com/BornToBeRoot/NETworkManager/releases/tag/2024.12.31.0
The control / session should scale now based on per monitor dpi.
@BornToBeRoot
Happy New Year! glad it was fixed so quickly, I can test it on January 2, 2025.
@BornToBeRoot
RDP now resizes correctly