Hi! I tried running Virtualbox Guest Addition with NetBSD-9.99.56/amd64. The host is Windows 10, Virtualbox-6.1.6. I appreciate the efforts of those involved.
Because the version of xorg-server attached to NetBSD is 1.20.6, a patch like the link below was needed to make GuestAdditions of Virtualbox work. This is the difference against svn revision 83708. https://www.dropbox.com/s/hthsagl61oqhqhu/vbox-r83708-diff.txt.xz?dl=0 * The mouse driver of Xorg.conf uses "ws". * The clipboard sharing is bidirectional. * The loadable kernel module is automatically loaded when the VBoxService is started. With the above settings, things are working for the most part, but there is a small problem. I can select the screen resolution at Display->Virtual Screen 1 in the virtual machine, but it doesn't change. I can still change the screen size with xrandr though. Phenomenon in the graphics controller VMSVGA * When vboxvideo is selected in the Driver of Xorg.conf, it does not start with an error. * Virtual machine resets when running X with 256MB of video memory, OK for 128MB Phenomenon with graphics controller VBoxVGA/VBoxSVGA X server does not start when I select vmware in the Driver of Xorg.conf Do you have any thoughts or comments? -- SUNAGAWA Keiki -----Original Message----- From: [email protected] <[email protected]> On Behalf Of Chavdar Ivanov Sent: Thursday, August 1, 2019 10:10 PM To: NetBSD current-users <[email protected]> Subject: vboxguest on 9.0-BETA Hi, FYI VirtualBox guest cleanly compiles and apparently works under 9.0-BETA; in this case I used fresh svn update: ... Starting local daemons:12:58:44.643043 main VBoxService 6.0.97 r80012 (verbosity: 0) netbsd.amd64 (Aug 1 2019 13:54:41) release log 12:58:44.643086 main Log opened 2019-08-01T12:58:44.643017000Z 12:58:44.643227 main OS Product: NetBSD 12:58:44.643239 main OS Release: 9.0_BETA 12:58:44.643266 main OS Version: NetBSD 9.0_BETA (GENERIC) #0: Tue Jul 30 16:52:10 UTC 2019 [email protected]:/usr/src/sys/arch/amd64/compile/GENERIC 12:58:44.643288 main Executable: /usr/local/bin/additions/VBoxService 12:58:44.643294 main Process ID: 25832 12:58:44.643299 main Package type: BSD_64BITS_GENERIC 12:58:44.646075 main 6.0.97 r80012 started. Verbose level = 0 ..... LocalConfig.kmk: ... VBOX_WITHOUT_HARDENING := 1 VBOX_ONLY_ADDITIONS := 1 VBOX_WITH_ADDITION_DRIVERS := 1 VBOX_WITH_X11_ADDITIONS := 1 VBOX_ONLY_ADDITIONS_WITHOUT_RTISOMAKER := 1 ifeq ($(KBUILD_TARGET), netbsd) TEMPLATE_VBOXGUESTR3EXE_LIBS = $(TEMPLATE_VBOXR3EXE_LIBS) crypt endif ...... 9.0BETA# /usr/local/bin/additions/VBoxControl version Oracle VM VirtualBox Guest Additions Command Line Management Interface Version 6.0.97 (C) 2008-2019 Oracle Corporation All rights reserved. 6.0.97r80012 9.0BETA# ps ax | grep VBox 190 ? Is 0:00.00 /usr/local/bin/additions/VBoxClient --clipboard 7090 ? Isl 0:00.16 /usr/local/bin/additions/VBoxService --pidfile /var/run/VBoxService.pid 24395 ? Is 0:00.00 /usr/local/bin/additions/VBoxClient --display 25517 ? Il 0:00.01 /usr/local/bin/additions/VBoxClient --clipboard 26513 ? I 0:00.01 /usr/local/bin/additions/VBoxClient --display 1023 pts/3 O+ 0:00.00 grep --color=auto --exclude=.bzr --exclude=CVS --exclude=.git --exclude=.hg --exclude=.svn VBox -- ----
