spice远控虚机时分辨率无法调整(spice-vdagent使用说明)
2016-09-21 11:10
741 查看
在使用spice客户端(Rmote viewer)远控虚拟机时,发现虚拟机桌面不能随着远控窗口的大小实时调整,或者当使用spice满屏功能时,虚机的桌面并不能占满当前屏幕。
解决方法:
通过查阅spice官网上spice的使用说明 https://www.spice-space.org/spice-user-manual.html ,可以发现spice提供了一个虚机内部使用的插件spice-vdagent,这个插件可以解决分辨率无法调整的问题。
vdagent使用方法:
使用vdagent需要在虚机操作系统中安装vdagent相关rpm包 spice-vdagent,并且为虚拟机添加 virtio-serial PCI设备和spicevmc char设备,这两个设备通过虚拟机的xml添加,如下
附加说明:
按照vdagent官网上的说明,使用vdagent后可以直接从spice远控窗口中将虚机中的文件拷贝到host上,我尝试了一下,没有效果,不清楚是不是还有相关配置没有设置,后面确认后再更新帖子;
我验证时使用的是centos7.2的虚机镜像。
解决方法:
通过查阅spice官网上spice的使用说明 https://www.spice-space.org/spice-user-manual.html ,可以发现spice提供了一个虚机内部使用的插件spice-vdagent,这个插件可以解决分辨率无法调整的问题。
vdagent使用方法:
使用vdagent需要在虚机操作系统中安装vdagent相关rpm包 spice-vdagent,并且为虚拟机添加 virtio-serial PCI设备和spicevmc char设备,这两个设备通过虚拟机的xml添加,如下
<devices> <controller type='virtio-serial' index='0'/> <channel type='spicevmc'> <target type='virtio' name='com.redhat.spice.0'/> </channel> </devices>
附加说明:
按照vdagent官网上的说明,使用vdagent后可以直接从spice远控窗口中将虚机中的文件拷贝到host上,我尝试了一下,没有效果,不清楚是不是还有相关配置没有设置,后面确认后再更新帖子;
我验证时使用的是centos7.2的虚机镜像。
相关文章推荐
- 使用FB41进行PID调整的说明
- TPTP Agent Controller使用说明
- 在VMware Workstation6.52安装Redhat Enterprise Linux5后无法调整屏幕的分辨率
- Android使用include无法调整位置的解决方法
- thinkphp模块分组后,cli模式无法使用的调整方法
- 第三方发布工具及剪影暂时无法使用的原因说明
- spice-guest-tools(vdagent vdservice qxl virtio)编译笔记(一)
- MOOON-agent发布:MOOON-agent系统设计与使用说明
- MTU值导致KVM虚机wget ,scp无法正常使用
- 使用Paragon Partition Manager调整分区失败,系统无法启动(解决 )
- 使用PIL调整图片分辨率
- 无法找到源“SQLSERVERAGENT”中事件 ID“1073742032”的说明
- spice-guest-tools(vdagent vdservice qxl virtio)编译笔记(二)
- ThinkPad使用Windows 7专业版恢复盘恢复系统后无法调整屏幕亮度的解决方法
- powerbuilder 中使用flash,flash无法根据窗口的大小自动调整
- 关于可运行代码无法正常执行的使用说明
- 在VMware Workstation6.52安装Redhat Enterprise Linux5后无法调整屏幕的分辨率
- CentOS6.3x86显示器的分辨率有限或刷新频率无法调整
- spice vdagent
- 虚拟机建立centos6.5分辨率无法调整