Port-i386 archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

VirtualBox Guest Additions - available for testing (alpha)



I've finally got around to pick up work on VBox GA started by Haomai
Wang as 2013 GSoC project and completed by Arto Huusko the next year.

I've put preliminary results at

       ftp://ftp.netbsd.org/pub/NetBSD/misc/uwe/vbox-ga/ 
  aka http://ftp.netbsd.org/pub/NetBSD/misc/uwe/vbox-ga/

There are four tarballs for { 6.1.5, 7.0.1 } x { i386, amd64 }.  The
files are in /usr/local with symlinks from /stand and /usr/X11R7

Run:

  # modload vboxguest
  # VBoxService --pidfile /var/run/VBoxService.pid

If you have xorg.conf already, change device to "vboxvideo".  If you
run X -configure with vboxvideo driver installed, confugure will pick
it up automatically.

  Section "Device"
          Identifier  "Card0"
          Driver      "vboxvideo"
          ...
  EndSection

Change mouse driver to "vboxmouse":

  Section "InputDevice"
          Identifier  "Mouse0"
          Driver      "vboxmouse"
          #Driver     "mouse"
          #Option     "Protocol" "wsmouse"
          #Option     "Device" "/dev/wsmouse"
          Option      "ZAxisMapping" "4 5 6 7"
  EndSection

Add:

  VBoxClient --display
  VBoxClient --clipboard

to your xinitrc.

For the clipboard to work you need to have access to /dev/vboxguest.
Make it group-writeable and make sure you are in the right group.
Don't forget to enable shared clipboard in VM's "Devices" menu.  Don't
forget that plain xterm doesn't use clipboard by default, check
"Select to Clipboard" option in the VT options menu or set the
corresponding resource to true.

With barebones x environment resizing the guest window will happen
after a bit of delay.  I'm told this should work instantly with a
modern'ish desktop environments that acts on the notification
immediately.  Otherwise VBox will resize the display itself after a
short timeout.

Caveat emptor.

-uwe


Home | Main Index | Thread Index | Old Index