简体   繁体   English

如何远程桌面到 VMWare Windows 10 VM,而不是基础机器?

[英]How Do I Remote Desktop to a VMWare Windows 10 VM, not the base machine?

I have a PC running Windows 10. On that PC I have VMWare hosting a Windows 10 VM.我有一台运行 Windows 10 的 PC。在那台 PC 上,我有 VMWare 托管一个 Windows 10 VM。 I can run the VM without issue from the local machine.我可以在本地机器上毫无问题地运行 VM。 The VM has a typical Windows PC Name, different from the base machine. VM 有一个典型的 Windows PC 名称,与基本机器不同。 When I try to make a Remote Desktop connection from a different PC to the VM using the VM PC Name, it connects to the base machine.当我尝试使用 VM PC 名称从另一台 PC 到 VM 建立远程桌面连接时,它会连接到基本计算机。 I can see the VM running on the base machine and control it.我可以看到在基础机器上运行的 VM 并对其进行控制。 I need to be able to run several VM's on this base machine and then use RDP to run remote desktop sessions on the VM's.我需要能够在这台基础机器上运行多个虚拟机,然后使用 RDP 在虚拟机上运行远程桌面会话。 Other configuration info:其他配置信息:

  • The VM Network is configured as NAT and I have followed the instructions here ( https://kb.vmware.com/s/article/1018809 ) VM 网络配置为 NAT,我已按照此处的说明进行操作 ( https://kb.vmware.com/s/article/1018809 )
  • If I change to Bridged for the Network then I can ping my other PC from the VM if I set up a fixed IP address - nothing if I try DHCP but that may be due to company network constraints.如果我更改为网络桥接,那么如果我设置了一个固定的 IP 地址,我可以从 VM ping 我的另一台 PC - 如果我尝试 DHCP,则什么都不会,但这可能是由于公司网络限制。
  • In Bridged mode, I can't ping back to the VM from my other PC.在桥接模式下,我无法从另一台 PC ping 回 VM。 (Edit: fixed, this was just Network Discovery and Firewall settings) I need this system running on Windows 10 as our IT department doesn't want to support my application (even though they agree to it being used) which means I can't go to a Windows Server option. (编辑:已修复,这只是网络发现和防火墙设置)我需要这个系统在 Windows 10 上运行,因为我们的 IT 部门不想支持我的应用程序(即使他们同意使用它),这意味着我不能转到 Windows Server 选项。 Also, the VM's need to be Windows 10 for application compatibility.此外,为了应用程序兼容性,VM 需要是 Windows 10。
  • All the equipment under test is in the same LAN subnet and on a single, dumb switch.所有被测设备都在同一个 LAN 子网中,并且在单个哑交换机上。 Any help would be appreciated.任何帮助,将不胜感激。
  • Launch the menu item VM > Settings.启动菜单项 VM > 设置。
  • Search the start menu for command prompt from within the virtual machine.从虚拟机中搜索命令提示符的开始菜单。 Enter ipconfig in the prompt and search for a value following the IPv4 Address.在提示符中输入 ipconfig 并搜索 IPv4 地址后面的值。 Record this address for later use.记录此地址以备后用。
  • Now select the menu item Edit > Virtual Network Editor.现在选择菜单项 Edit > Virtual Network Editor。
  • Select the NAT network type and then choose NAT Settings.选择 NAT 网络类型,然后选择 NAT 设置。
  • From this new prompt, click Add to include a new port forwarder.在这个新提示中,单击添加以包含新的端口转发器。
  • Enter the following information: Host Port : 9997, Type : TCP, Virtual machine IP address : Enter the IP you recorded in Step 2. note: This port number is 3389 by default, Save any open prompts so the configuration changes can take place.输入以下信息:主机端口:9997,类型:TCP,虚拟机 IP 地址:输入您在步骤 2 中记录的 IP。注意:此端口号默认为 3389,保存所有打开的提示,以便进行配置更改。
  • The final step is to enable RDP connections from within the operating system itself.最后一步是从操作系统本身启用 RDP 连接。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何让 windows vm 将网络流量发送到 vmware player 中的 remnux vm - How do I make windows vm to send network traffic to remnux vm in vmware player Windows上的远程桌面+隧道 - Remote Desktop + Tunneling on Windows 如何从不同网络上的其他主机访问本地VM上的Web服务器? - How do I access web-server on my local VM from a different host machine on different network? 如何在Windows上使用Python访问远程文件系统? - How do I access a remote filesystem using Python on Windows? 如何在 Windows10 中使用 Cuckoo 使用 Windump - How do I use Windump using Cuckoo in Windows10 如何与远程计算机上的对象通信? - How can I communicate with an object on a remote machine? 如何可视化远程Windows机器中ubuntu服务器中安装的hadoop界面 - how to visualise hadoop interface installed in ubuntu server in a remote windows machine 如何在VMware ESXi 4.1.0上作为主机运行的虚拟机上通过vSphere禁用PXE网络引导? - How can I disable PXE network booting through vSphere on a virtual machine running on VMware ESXi 4.1.0 as host? 如何使用Python访问其他/远程Windows计算机? - How to access a different/remote Windows machine using Python? Docker on Windows 10 与 mobylinuxvm,如何添加网络接口/交换机到机器 - Docker on Windows 10 with mobylinuxvm, how to add network interface/switch to a machine
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM