首页 > 其他 > 详细

vSphere Client中虚拟机与客户机中的剪切板不能够拷贝、粘贴

时间:2014-05-08 16:38:08      阅读:648      评论:0      收藏:0      [点我收藏+]

现象

vSphere Client中的虚拟机不能够与本地电脑之间进行文字的复制、粘贴

原因

vSphere 4.1开始,处于安全考虑拷贝、粘贴选项是被禁用的

解决

  1. 保证客户机安装了VMware Tools

  2. 通过vSphere Clinet 登录vCenter Server系统并关闭虚拟机电源。

  3. 选中虚拟机点击 摘要(Summary)

  4. 点击编辑设置 (Edit Settings)

  5. 浏览导航条到 选项 > 高级 > 常规 (Options > Advanced > General ) 并点击 配置参数 (Configuration Parameters)

  6. 点击 添加一行(Add Row)

  7. 参数名称(Name)与值(Value) 如下

Name
Value

isolation.tools.copy.disable      
FALSE

isolation.tools.paste.disable      
FALSE

注意:这些参数将会复写到VMware Tools 控制面部参数项

8. 点击话窗口,点击确认(OK)关闭虚拟机参数对话窗口

9. 打开虚拟机电源

参数知识库

http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1026437

Clipboard Copy and Paste does not work in vSphere Client 4.1 and later (1026437)

Symptoms

  • Cannot copy and paste from the virtual machine remote console to the system in which the vSphere client is installed

  • The Copy and Paste options are disabled

Cause

Starting with vSphere 4.1, the Copy and Paste options are, by default, disabled due to security concerns.

Resolution

To be able to copy and paste between the guest operating system and the remote console, you must enable the Copy and Paste options using the vSphere Client. Alternatively, you can use RDP (Remote Desktop Protocol) to connect to the Windows virtual machines.

To enable this option for a specific virtual machine:

Note: VMware Tools must be installed for Copy and Paste to work. For more information, see Installing VMware Tools in a Windows virtual machine (1018377).

  1. Log in to a vCenter Server system using the vSphere Client and power off the virtual machine.

  2. Select the virtual machine and click the Summary tab.

  3. Click Edit Settings.

  4. Navigate to Options > Advanced > General and click Configuration Parameters.

  5. Click Add Row.

  6. Type these values in the Name and Value columns:      

    Name
    Value

    isolation.tools.copy.disable        
    FALSE

    isolation.tools.paste.disable        
    FALSE

    Note: These options override any settings made in the VMware Tools control panel of the guest operating system.


  7. Click OK to close the Configuration Parameters dialog, and click OK again to close the Virtual Machine Properties dialog.

  8. Power on the virtual machine.

Note: If you vMotion a virtual machine to a host where the isolation.tools.*="FALSE" is already set, the copy and paste options are automatically activated for that virtual machine.

To enable this option for all the virtual machines in the ESX/ESXi host:

  1. Log in to the ESX/ESXi host as a root user.

  2. Take a backup of the /etc/vmware/config file.

  3. Open the /etc/vmware/config file using a text editor.

  4. Add these entries to the file:      
    vmx.fullpath = "/bin/vmx"      
    isolation.tools.copy.disable="FALSE"        
    isolation.tools.paste.disable="FALSE"

  5. Save and close the file.      
    The Copy and Paste options are only enabled when the virtual machines restart or resume the next time or shutdown and power-on the virtual machine for changes to take effect.  This must be done on the virtual machine side, not the guest OS side.

Note: These options do not persist after the host upgrade. If you upgrade to a newer version after enabling these options, the changes are lost and you may have to re-enable them.

For more information, see the Limiting Exposure of Sensitive Data Copied to the Clipboard section of the ESX Configuration Guide.

本文出自 “专注系统集成” 博客,请务必保留此出处http://jinda.blog.51cto.com/2701883/1408245

vSphere Client中虚拟机与客户机中的剪切板不能够拷贝、粘贴,布布扣,bubuko.com

vSphere Client中虚拟机与客户机中的剪切板不能够拷贝、粘贴

原文:http://jinda.blog.51cto.com/2701883/1408245

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!