Building the VirtualBox Guest Additions kernel modules.
The headers for the current running kernel were not found
这个说明是没有内核源码,
到 /lib/modules 目录下看看内核对应的模块目录里面 build 和 source软链接分别指向哪个目录。
我把VirtualBox升级到5.1.16版本就可以了。
我安装的是Ubuntu14.04(64位),可能VirtualBox4.3.16版本对这个Ubuntu版本兼容性不好,导致我一直安装不好增强包,自然也无法调分辨率。
原先是VirtualBox4.3.16版本的,怎么设置都不行,安装增强工具时一直出现
Building the VirtualBox Guest Additions kernel modules.
The headers for the current running kernel were not found这个问题。上网搜了这个问题的解决办法,按照步骤一步一步操作,但这个问题还是解决不了。
后来重新下载了VirtualBox的最新版本,非常好用,什么都不用设置就可以调分辨率。