AS I need transfer the image to client computer by vnc, so bigger size image will be very slow. So I need resize it. But when you want to resize the window, you need make sure define the window like:
Then you also can resize the window manually.
But if you want window fit the image size automatically then you should :
Then you are not allowed to resize it anymore. So be careful here.