Ah ok! Very good to know.

After I posted this I managed to come up with a solution that I had been
trying to do for a while but I was getting stuck. Finally got unstuck and it
seems to work good.

If one doesn't want to recompile, I detailed the process here:

https://wiki.archlinux.org/index.php/Xrandr#Using_xrandr_with_VNC



On Sat, Jun 4, 2011 at 12:57 PM, Christopher J. Madsen <[email protected]>wrote:

> On 6/4/2011 9:02 AM, Travis Lawrie wrote:
> > I want to add at least two more resolutions, "2560x1600" for my main pc
> > monitor, and "1024x600" for my netbook.
> >
> > I am able to add one resolution in addition to the ones shown above by
> > starting vncserver like "vncserver -geometry 1024x600" but then I dont
> get
> > the other resolution of "2560x1600" as an option.
> >
> > Is there a way I can add multiple available resolutions?
>
> Not without compiling TigerVNC from source (after patching it).  In
> unix/xserver/hw/vnc/xvnc.cc you'll find the vncRandRGetInfo function.
> It has two arrays giving the available resolutions:
>
>  const int widths[] =  { 1920, 1920, 1600, 1680, 1400, 1360, 1280,
> 1280, 1280, 1280, 1024, 800, 640 };
>  const int heights[] = { 1200, 1080, 1200, 1050, 1050,  768, 1024,
> 960,  800,  720,  768, 600, 480 };
>
> Just add your resolutions to the list:
>
>  const int widths[] =  { 2560, 1920, 1920, 1600, 1680, 1400, 1360,
> 1280, 1280, 1280, 1280, 1024, 1024, 800, 640 };
>  const int heights[] = { 1600, 1200, 1080, 1200, 1050, 1050,  768,
> 1024,  960,  800,  720,  768,  600, 600, 480 };
>
> And then compile & install TigerVNC.
>
> --
> Chris Madsen                                           [email protected]
>  --------------------  http://www.cjmweb.net  --------------------
>
>
>
> ------------------------------------------------------------------------------
> Simplify data backup and recovery for your virtual environment with
> vRanger.
> Installation's a snap, and flexible recovery options mean your data is
> safe,
> secure and there when you need it. Discover what all the cheering's about.
> Get your free trial download today.
> http://p.sf.net/sfu/quest-dev2dev2
> _______________________________________________
> Tigervnc-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/tigervnc-users
>
------------------------------------------------------------------------------
Simplify data backup and recovery for your virtual environment with vRanger.
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Discover what all the cheering's about.
Get your free trial download today. 
http://p.sf.net/sfu/quest-dev2dev2 
_______________________________________________
Tigervnc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tigervnc-users

Reply via email to