VNC plugin: resize remote session to the local window
Local System Description
- Client (OS name and version): elementary OS 5.0
- Remmina version (
remmina --version
): 1.2.32.1 - Installation mean:
-
Distribution package. -
PPA. -
Snap. -
Flatpak. -
Compiled from sources. -
Other - detail:
-
- Desktop environment (GNOME, Unity, KDE, ..): Pantheon
- Plugin:
-
RDP - freerdp version ( xfreerdp --version
): -
VNC -
SSH -
SFTP -
SPICE -
EXEC -
Other (Please specify):
-
- Gtk Backend (Wayland, Xorg, ??): Xorg
Remote System Description
- Server (OS name and version): Debian 9 (Stretch)
- Special notes regarding the remote system (i.e. gateways, tunnel, etc): TigerVNC server 1.7.0
Problem Description
When I connect to the remote VNC server the screen will not use the full Remmina window size. Instead is using a fixed resolution.
I can change that resolution manually using xrandr to different values once connected or even use Remmina scale mode. None of this solutions are optimal. Scaling make things look bad (blurry, stretched) and the resolutions available through xrandr are generic and they don't exactly fit Reminna's window most of the times.
After doing some research I just found that TigerVNC supports dynamic resolution adjustment (similar experience as using RDP with Windows 8.1/2012R2) and I was able confirm it's working using TigerVNC viewer with the "Resize remote session to the local window" setting enabled (default):
This is a great feature that allows the VNC session to adjust the resolution following the window size. So if you resize the window, the remote session will be adjusted on the fly, no need to reconnect, etc. The results is perfect, no black bars, no scaling. Same experience as with using RDP against Windows servers.
Do you think it would be possible to implement this in Remmina. I think it would be an excellent feature.
Thanks in advance for reviewing this request.