Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

4 Answers 4

up vote 4 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

Update

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 realvnc.com/products/download.html –  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: http://stackoverflow.com/questions/15816/changing-the-resolution-of-a-vnc-session-in-linux

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

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

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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.