Re: [gtk-vnc-devel] mouse pointer doesn't follow up in viewer...



I have tested a number of configurations, in both 0.3.2 and in 0.3.3. 0.3.2 works correctly, 0.3.3 does not. I have my application set vnc_display_set_pointer_local(VNC_DISPLAY(vnc), FALSE) at the moment, however, I have tried it with it true, with and without pointer_grab set, and so forth. Unfortunately, I cannot use 0.3.2 because I need scaling.

I know very little about the VNC protocol, that which I could find is http://www.realvnc.com/docs/rfbproto.pdf, which contains nearly nothing about the server sending pointer information to the viewer. All I can see, and trace in the viewer, is when the pointer changes. I don't know what message the server sends to the viewer when the pointer moves. I have tried to grep out pointer-warping function calls in the viewer in both versions, but could only find a pointer warp in motion_event in the vncdisplay.c file. Needless to say, that function is not called when the server moves the pointer, even in 0.3.2 where the pointer does move in the viewer. I tried using wireshark to sniff the VNC packet for mouse moves, but I get so many undefined packet types I can't tell one from another. I am at a loss.


Thank you for your assistance,

Rob Stoddard


Anthony Liguori wrote:
Rob Stoddard wrote:
I have been working with your wonderful library in attempts to create a VNC viewer that my company can use for its product's desktop sharing extension. My first attempt at doing something with your widget was to insert OpenGL support; however, you guys beat me to the punch. I really like your library, but I am having trouble with one thing.

The viewer application that I need to create is just that- a pure viewer that offers no control to the user, since it'll be running on a system that has no keyboard or mouse attached. I would like the mouse pointer to be controllable from the remote server, however, as much as I could do that prior to the OpenGL mod, I can't seem to make it happen now. The pointer reflects all changes from one type to another, however, it just sits in one place on the screen.

Have you tried disabling local cursor? I've only tested the read-only mode against QEMU which doesn't not support local cursors.

Regards,

Anthony Liguori

I've been going through the code to see where the disconnect may be... If I find it before you guys do, I'll report it, however, I would really appreciate hearing from you guys if you find the issue before I do.


Thank you very much

Rob Stoddard



-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Gtk-vnc-devel mailing list
Gtk-vnc-devel lists sourceforge net
https://lists.sourceforge.net/lists/listinfo/gtk-vnc-devel





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]