This is the second attempt, using vdagentd & vdagent as external processes, the changes required to vdagent are in an accompanying patchset, they are relatively small. With this patchset you can: change resolution by resizing remote-viewer window get multiple monitors including working pointer With this patchset you can't: use clipboard. needs some more work, should be just a bug, or something obvious I forgot. I have used this for the last day and it seems fine, so I'm sending it as a patchset and not RFC. Alon Levy (11): xspice: support sending monitors config qxl_driver: fix build for Xspice xspice: zero memory on allocation, fix uninitialized use (valgrind reported) spiceqxl_inputs: expose buttons & position api for agent usage qxl_option_helpers: add required includes xspice: add vdagent support xspice: add uinput support to vdagent support Xspice: use subprocess.Popen, nicer cleanup of files/processes Xspice: correct doc string Xspice: require display parameter, and set if earlier in environment Xspice: vdagent{,d} launching support scripts/Xspice | 68 +++++++++++++++--- src/Makefile.am | 4 ++ src/qxl.h | 3 + src/qxl_driver.c | 22 ++++-- src/qxl_io.c | 9 ++- src/qxl_option_helpers.h | 2 + src/spiceqxl_display.c | 10 +++ src/spiceqxl_display.h | 2 + src/spiceqxl_inputs.c | 41 ++++++----- src/spiceqxl_inputs.h | 2 + src/spiceqxl_uinput.c | 118 +++++++++++++++++++++++++++++++ src/spiceqxl_uinput.h | 8 +++ src/spiceqxl_vdagent.c | 180 +++++++++++++++++++++++++++++++++++++++++++++++ src/spiceqxl_vdagent.h | 8 +++ 14 files changed, 446 insertions(+), 31 deletions(-) create mode 100644 src/spiceqxl_uinput.c create mode 100644 src/spiceqxl_uinput.h create mode 100644 src/spiceqxl_vdagent.c create mode 100644 src/spiceqxl_vdagent.h -- 1.8.3.1 _______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/spice-devel