To troubleshooting, try the following from a terminal window and paste the result from the problem system:
modinfo vboxvideo | grep "^version"
modinfo vboxguest | grep "^version"
modinfo vboxsf | grep "^version"
I suspect vboxvideo will show the ubuntu drivers?
I have similar symptoms on LUbuntu 16.04.03 + HWE (kernel 4.10.0-37) with a fresh install of the operating system + guest additions. Guest additions also call themselves 5.2.1??
In my case it logs in fine. But if I can duplicate the OpenGl error. Running the "glxinfo" command from a LXTerminal window endlessly spams the same warning: "OpenGL Warning: vboxCall failed with VBox status code VERR_BUFFER_OVERFLOW".
I noticed errors running ./VBoxLinuxGuestAdditions.run. This ends up with part of the guest additions installing. This results in the *Ubuntu* version of the VirtualBox video drivers being installed (5.1.16_Ubuntu r1113841). Something with this is conflicting/crashing.
Excerpt from VBoxLinuxAdditions.run log:
Code: Select all
/4.10.0-37-generic/build/include -I/tmp/vbox.0 -Iinclude/drm -D__KERNEL__ -DMODULE -DMODULE -DKBUILD_BASENAME='"hgsmi_base"' -DKBUILD_MODNAME='"vboxvideo"' -c -o /tmp/vbox.0/hgsmi_base.o /tmp/vbox.0/hgsmi_base.c
/tmp/vbox.0/hgsmi_base.c: In function 'hgsmi_send_caps_info':
/tmp/vbox.0/hgsmi_base.c:99:2: error: implicit declaration of function 'AssertRC' [-Werror=implicit-function-declaration]
AssertRC(p->rc);^M
^
cc1: some warnings being treated as errors
scripts/Makefile.build:294: recipe for target '/tmp/vbox.0/hgsmi_base.o' failed
make[2]: *** [/tmp/vbox.0/hgsmi_base.o] Error 1
Makefile:1524: recipe for target '_module_/tmp/vbox.0' failed
make[1]: *** [_module_/tmp/vbox.0] Error 2
/tmp/vbox.0/Makefile.include.footer:97: recipe for target 'vboxvideo' failed
make: *** [vboxvideo] Error 2
Creating user for the Guest Additions.
Creating udev rule for the Guest Additions kernel module.
Work around: I mounted the 5.2.0 Beta 2 guest additions and installed them:
http://download.virtualbox.org/virtualb ... _BETA2.iso
I also tried the 5.2.0_beta3.iso. I downloaded this ISO twice, but VirtualBox says it's corrupted and fails to mount it.