On 06/27/2017 03:59 PM, Ed Greshko wrote:
What I believe is that the vncviewer is doing is requesting 1024x768
and that is what
you'll get. Now, the "interesting" or bad thing is that once you connect
at a lower
resolution than what you want Xvnc will stick with it no matter what you do from the
viewer side.
So.... Try disconnecting, restart the server, and then use "vncviewer -geometry
1600x1200 hostname:1" to connect.
In other words, once you connect with a given resolution you're stuck to it on
subsequent connections. :-(
I was surprised to discover that xrandr works with Xvnc. I had
initially started the vnc server at 1024x768 as a convenient default.
But checking with xrandr showed that long list of options and changing
the mode worked and is persistent on future connections. I use Remmina,
but I expect vncviewer would work the same. If not, Remmina works well
and handles a wide variety of protocols and connection options.