Skip to content

jcs/vmwh

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vmwh
Copyright (c) 2010-2011 joshua stein <jcs@jcs.org>

Permission to use, copy, modify, and distribute this software for any
purpose with or without fee is hereby granted, provided that the above
copyright notice and this permission notice appear in all copies.

THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.

--

vmwh is a vmware helper for x11, developed on openbsd to run in userland
alongside the vmt(4) vmware kernel driver[1] and, optionally, the vmmouse xorg
driver (unless the -m option is used, in which case vmwh handles mouse position
synchronization itself).  it currently requires xclip to do the x11 clipboard
manipulation.

it detects when the mouse cursor switches back to the host ("ungrabs") and
sends the guest's x11 clipboard data (read from xclip) to the host through the
vmware backdoor[2], which gets put onto the host's clipboard.

it then detects when the mouse cursor switches back to the guest ("grabs") and
replaces the x11 clipboard contents (via xclip) with the host's, which is read
through the vmware backdoor.



1. vmwh does not interface with the kernel or the vmmouse driver in any way, so
   it may work on other operating systems.  it is developed on amd64 and has
   been tested on i386.

2. https://sites.google.com/site/chitchatvmback/backdoor