I actually worked on VNC a whiles back on this (around July I believe).
What I ended up doing was a little of an overkill (he didn't even need to
see the screen, he just needed to be able to move the mouse over there), but
I actually got multiple monitors working.  Not long after I read something
on the mailing list that made it sound as if there was going to be more
official support for this in some feature that had gotten added so I didn't
bother announcing it to anyone.  If it hasn't surfaced yet you may be
interested in what I came up with.

The modifications I made caused VNC to use the new APIs for getting access
to the entire monitor state.  I then messed with the mouse code to support
strange values and do the math required to get the mouse to all areas of the
screens correctly: figuring out how to move the mouse around was the hardest
part.  The end result isn't likely the best way to do it, but it does have
some interesting properties.  You end up with the VNC server serving up a
really large frame buffer that is the bounding box of all of the monitors:
any areas that don't map to a monitor contain semi-random, normally
dark/black data (but luckily the way windows does this it isn't invalid
memory and won't cause protection problems).

If enough people are interested I'd be happy to add this to my list of
projects, clean up the code, formulate a patch, get it working with the
latest VNC code, etc.

Sincerely,
Jay Freeman (saurik)
[EMAIL PROTECTED]

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Trevor Manser
Sent: Friday, December 15, 2000 1:10 PM
To: Vnc-List-Digest (E-mail)
Subject: Windows 2000 Win2K Win2000 -- Multiple Monitor Support?

Hi everyone.  I am running Windows 2000 on a PC, with 3 monitors comprising
my desktop.  Each monitor is part of the desktop, the mouse runs freely
between screens.  Really fun - great for development or editing... BUT:  VNC
doesn't seem to be capable of connecting to the individual monitors, just
the primary one (the one with the task bar and START menus, etc.

Does anybody know how to attach to the other two monitors using VNC?
If that is not supported yet, are there plans to add it or modify the source
code so that it can?
Incidentally, the multiple monitor capability of Windows has been around
since Windows98 - and exists in ME and 2000 as well.

I tried attaching to port 5900, 5901, 5902 - just 5900 works.

Any suggestions??   THANKS in advance..  Trevor.

Trevor B. Manser
Chief Scientist,
Select Engineering Services/SverdrupTechnology
phone: (801)774-0995
mailto:[EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, send a message with the line: unsubscribe vnc-list
to [EMAIL PROTECTED]
See also: http://www.uk.research.att.com/vnc/intouch.html
---------------------------------------------------------------------

Reply via email to