I posted this message to the list a few days ago and did not get an answer 
that could explain the problem or come up with a solution. We are looking to 
contract with someone to investigate the problem and provide us with a 
solution. Please e-mail me if you are interested. Thanks.

> Trying to run VMWare inside an Xvnc server and get cursor registration
> problems. I've gone over a number of posts on this issue and have not found
> a solution. A post off google seemed to describe the problem...

----->>
We've used VNC with VMware on Linux and had some problems when we
startup X on the guest Linux and run that through VNC.  Basically, VNC
loses track of the cursor in the guest Linux.  Instead, VNC makes the
inside (VNC) cursor match the position of the outside (real X server)
cursor.  I've talked with the VMware folks about this and they
indicate the problem is as follows:
VMware doesn't have a cursor.  It emulates a PS/2 mouse,
which only reports relative motion.  It takes the X (or VNC
if running under VNC) cursor motion events and turns them into
mouse moves for the VM.  With any X server, this is
fine until the cursor hits the root window border.  Then it
can no longer get motion events in that direction.  To get around
this, VMware warps the X cursor (using the XWarpPonter call)
to the middle of the screen when it gets near a border.
This should work when using VNC as VMware's X server,
since it'll also keep the VNC cursor within its window.
However, VNC essentially ignores the XWarpPointer call,
because it always resets its cursor position to match the real
X server's cursor.  The result is that VMware gets some
strange cursor movements and when you move the mouse
in the same direction for a while, VNC releases the X cursor
and VMware stops getting motion events.
When VMware is running with the toolbox so it knows
the guest operating system's cursor position, it can release
the X cursor when the guest's cursor goes out of the display
(plus a force threshold to make it stickier).  I think
VNC should work like that.  The way it works now breaks
XWarpPointer(), which is useful for things like moving
the cursor to the middle of a dialog box when it pops up.
Anyway, I consider it a VNC bug, since it doesn't support
one of the standard X protocol calls.  (On the other
hand, any X server using an absolute-coordinate pointing
device (like a tablet) will behave in the same way, so
it's hard to say.  I guess VMware, because it's emulating
a mouse, just doesn't work well when the physical pointing
device uses absolute coordinates.)
-----<<


-- 
Mike Gehl
Cognition Inc.
---------------------------------------------------------------------
To unsubscribe, mail [EMAIL PROTECTED] with the line:
'unsubscribe vnc-list' in the message BODY
See also: http://www.uk.research.att.com/vnc/intouch.html
---------------------------------------------------------------------

Reply via email to