Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is it possible to change the resolution of the viewer specified during starting of the vnc server with the geometry command line argument? I have a vncserver configured for a wide screen monitor but I want to view it on a 1024x768 screen.

share|improve this question
up vote 6 down vote accepted

The UltraVNC viewer supports auto scaling, so it will resize the viewing window automatically, to display the whole screen of the remote server.

VNC Viewer


Both RealVNC and TightVNC display/desktop scaling.

share|improve this answer
I am using real vnc 4.1.3. where to find the desktop scaling option? I cannot find it. – Rohit Banga Sep 4 '10 at 12:56
It is not included in the RealVNC Free Edition, you need to by the Personal or Enterprise version. See the feature comparison – stukelly Sep 4 '10 at 16:27
I have downloaded the ultra vnc viewer. It works thanks. – Rohit Banga Sep 5 '10 at 5:47

This same question was asked a while ago on stack overflow:

The accepted answer from Nathan Fellman:

Real VNC server 4.4 includes support for Xrandr, which allows resizing the VNC. Start the server with:

vncserver -geometry 1600x1200 -randr 1600x1200,1440x900,1024x768

Then resize with:

xrandr -s 1600x1200

xrandr -s 1440x900

xrandr -s 1024x768

share|improve this answer
can't open display..... – Dani Dec 29 '15 at 11:57

If you need to change the setting without restarting VNC server, I had good results with:

vncconfig -set RandR="1024x768,1600x900"

and then using xrandr to change resolution as fgregg suggested:

xrandr -s 1024x768
xrandr -s 1600x900
share|improve this answer

With TightVNC (at least) if the server (windows) changes screen resolution then the client automatically changes to match the new resolution.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .