If you use the same vnc session from different computers with different screen sizes/resolutions, you may have wondered how to rescale the session such that it exactly fits the screen in full-screen mode. Following shows how using xrandr
Start your session with different possible resolutions you expect to be using
Now connect to the session from your favorite vnc client. Once connected, launch a terminal and run the following command to view the available resolutions.
Switch to the desired resolutions using the following (put in the desired resolution instead of 1920x1200)
Have fun.
Start your session with different possible resolutions you expect to be using
vncserver -geometry 1440x900 -geometry 1920x1200
Now connect to the session from your favorite vnc client. Once connected, launch a terminal and run the following command to view the available resolutions.
xrandr
Switch to the desired resolutions using the following (put in the desired resolution instead of 1920x1200)
xrandr -s 1920x1200
Have fun.