Fut*_*oad 29 vnc clipboard virtualization virt-manager
任何人都知道如何让虚拟管理器将复制粘贴功能安装到虚拟机?
在谷歌上找不到任何东西。
小智 29
您必须使用“Spice”而不是“VNC”:
python-spice-client-gtk(spice-client-gtk在debian上)(如果你在另一台机器上使用virt-manager通过ssh远程连接到vm主机,你也必须安装在该机器上)python-spice-client-gtkps -lef|grep spice-vdagentd如果正在运行,将返回进程)您正在使用香料。
另一个解决方案,没有 X,但假设您能够从您的机器 ssh 到您的主机,并从您的主机到您的 vm:
mymachine:~$ssh user@hosthost:~$ssh user@guest小智 19
您需要在来宾中安装 Spice 来宾代理:
检查Spice 下载部分的“访客”部分:https : //www.spice-space.org/download.html
小智 6
对于 Linux (Debian 11/bullseye) 主机和 Windows 10 客户机,我执行了以下操作以启用客户机和主机之间的复制粘贴:
spice-guest-tools在 Windows 客户机上安装;二进制文件可以从https://www.spice-space.org/download.html下载。spice-vdagent在 Linux 主机上。virt-manager(在主机上)更改 Windows VM 配置:
通道类型=“spicevmc”
目标类型=“virtio”
名称=“com.redhat.spice.0”
别名=“channel0”
地址类型=“virtio-serial”控制器=“0”总线=“0”端口=“ 2英寸
spice-vdagentd.service; 例如。
# systemctl enable spice-vdagentd.service`
Run Code Online (Sandbox Code Playgroud)
复制粘贴功能可供使用。