Claudio,
vncserver is just the Perl script wrapper for Xvnc. I don't think you can pass multiple geometry options to the vncserver wrapper script because it was designed when randr wasn't an option for Xvnc. So you either have to modify the vncserver wrapper or the Xvnc command line in the wrapper. The easiest thing for me was to run vncserver with all my options the way I wanted EXCECPT for the multiple geometry options. Then I spit out the resulting command line by throwing a print statement in the vncserver script. Then I just modified that Xvnc command with multiple -geometry options. I don't think I used quotes though. -Chris ________________________________ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Claudio Favi Sent: Friday, April 11, 2008 3:07 AM To: [EMAIL PROTECTED]; Williams, Chris (Marlboro); vnc-list@realvnc.com Subject: RE: To resize the VNC session window size Paresh, was trying to do the same thing and stumbled upon this thread. You can find vnc4_4.1.1+X4.3.0.orig.tar.gz <http://debian.mirror.inra.fr/debian/pool/main/v/vnc4/vnc4_4.1.1+X4.3.0. orig.tar.gz> here: http://debian.mirror.inra.fr/debian/pool/main/v/vnc4/ I had to patch manually (patch -p0 < ranrd.patch [chris patch] didn't work ). And Was able to compile and get the Xvnc server with randr extension. Chris, I run my new Xvnc server with vncserver -geometry "1024x768" and when I connect to it xrand output is: SZ: Pixels Physical Refresh *0 1024 x 768 ( 260mm x 195mm ) *60 Current rotation - normal Current reflection - none Rotations possible - normal Reflections possible - none How can I add more sizes ? I tried several -geometry options but nothing worked. Cheers, Claudio -- ======================== Claudio Favi Ph.D Student EPFL IC ISIM GR-CH IN-F 134 Station 14 1015 Lausanne Switzerland Tel: +41 21 693 3907 Fax: +41 21 693 5236 http://aqua.epfl.ch ======================== _______________________________________________ VNC-List mailing list VNC-List@realvnc.com To remove yourself from the list visit: http://www.realvnc.com/mailman/listinfo/vnc-list