-1

我在 Ubuntu 20.04 LTS 主机上运行 Oracle VirtualBox VM 6.1。

来宾操作系统是 Windows 10。

启动计算机并登录我的用户帐户后,我会在桌面顶部弹出一个灰色窗口,上面写着:VBoxClient: The virtualbox kernel service is not running...

请注意,这是没有启动 VirtualBox 的;登录我的桌面后,此消息几乎立即弹出。

但是,我可以毫无问题地启动 VirtualBox 并运行我的客户操作系统。

自安装以来,我已经多次更新 Ubuntu 操作系统,并重新安装了 VB 以使其保持最新状态。

是什么导致此消息出现?

sudo grep -i virtualbox /var/log/boot.log我在终端跑了,得到了

Starting VirtualBox Web Service...
[FAILED] Failed to start VirtualBox Web Service.
         Starting VirtualBox Web Service...
[FAILED] Failed to start VirtualBox Web Service.
         Starting VirtualBox Web Service...
[FAILED] Failed to start VirtualBox Web Service.
         Starting VirtualBox Linux kernel module...
[  OK  ] Started VirtualBox Linux kernel module.

作为输出。

因此,内核模块似乎正在正常启动,但内核服务却没有。

当我跑 ls /etc/modules-load.d

我得到cups-filters.conf modules.conf作为输出。

如果我打开 modules.conf,我会得到

# /etc/modules: kernel modules to load at boot time.
#
# This file contains the names of kernel modules that should be loaded
# at boot time, one per line. Lines beginning with "#" are ignored.

因此,似乎在引导时没有加载内核模块。

我真的不知道该怎么做这一切。

我收到一条错误消息,似乎并没有真正影响 VirtualBox 的功能。

但是,错误消息似乎不应该存在,因为内核模块正在启动。

不过,这似乎是不可能的,因为在启动时根本没有加载任何模块。

是什么导致了这个问题,我该如何解决?

我不想再弹出那个消息了。

谢谢....

4

1 回答 1

2

解决了。

在网上做了一些研究。

我去了我的 /opt 文件夹,并在其中找到了一个用于 VBoxGuestAdditions 的文件夹。

在那个文件夹中,我找到了一个卸载脚本。

我运行了那个脚本。

重新启动后,没有更多错误消息。

完毕!

于 2020-07-04T23:04:14.670 回答