VirtualBox双向粘贴

需求

实现主机和虚拟机之间双向复制粘贴。

步骤

设置虚拟机为“双向”共享粘贴。

安装增强模式。

可能的报错:

Verifying archive integrity... All good.
Uncompressing VirtualBox 5.2.12 Guest Additions for Linux........
VirtualBox Guest Additions installer
Copying additional installer modules ...
Installing additional modules ...
VirtualBox Guest Additions: Building the VirtualBox Guest Additions kernel modules.
This system is currently not set up to build kernel modules.
Please install the gcc make perl packages from your distribution.
VirtualBox Guest Additions: Running kernel modules will not be replaced until the system is restarted
VirtualBox Guest Additions: Starting.
Press Return to close this window...

解决方法:

sudo apt install virtualbox-guest-utils virtualbox-guest-dkms
reboot

参考链接

https://blog.csdn.net/baidu_37503452/article/details/78707806

发表评论

您的电子邮箱地址不会被公开。

此站点使用Akismet来减少垃圾评论。了解我们如何处理您的评论数据