How do I fix VMware Horizon Client disconnection?
“I’m attempting to connect to my office VDI using Vmware Horizon Client 5.4.2 on Windows 10. When I open the VMware Horizon client and select VDI. I enter the user name and password and successfully log in, but when VDI is about to start, it abruptly disconnects with the error 'The connection to the remote machine ended' on VMware Horizon Client.”
How to fix “The Connection to the Remote Computer Ended” on Horizon Client
Here in this part, we’ll guide you to fix “The Connection to the Remote Computer Ended” on Horizon Client. You have three parts to go through.
Part 1. Enable PCoIP Gateway functionality on Connection Server
Navigate to the Configuration Servers in View Administrator. Select a Connection Server, then click Edit and check the box that says "Use PCoIP Secure Gateway for PCoIP connections to desktop". PCoIP will then gateway through either the associated Security Servers or this Connection Server for all users of this Connection Server and any Security Servers.
Part 2. Set up the “External URL” and the new “PCoIP External URL” on Security Server
View Clients use these URLs to connect to a certain View server. Clients must be able to resolve and use these names and addresses. If distant connections are made directly to the Connection Server, External URLs must be configured on the Connection Server as well.
Part 3. Update the firewall to allow PCoIP to pass through
The final part is to check if a UDP port is blocked. You’ll need to install netcat for Windows on the View Client, the View Security Server, and the View desktop virtual machine.
- To test UDP connectivity from the View desktop to the Security Server:
Step 1. On the Security Server, open Command Prompt, run the command “nc -l -u -p 4172” to set the Security Server to listen on port 4172 for UDP traffic.
Step 2. On the View desktop, open Command Prompt, run the command “nc -u Security_Server_IPaddress 4172” to transmit traffic over UDP port 4172 to the destination IP address.
- To test UDP connectivity from the Security Server to the View Desktop virtual machine:
Step 1. On the View desktop virtual machine, open Command Prompt, run the command “nc -l -u -p 4172” to set the View Desktop to listen on port 4172 for UDP traffic.
Step 2. On the Security Server, open Command Prompt, run the command “nc -u View_Desktop_IPaddress 4172” to transmit traffic over UDP port 4172 to the destination IP address.
- To test UDP connectivity from the Security Server to the View Client:
Step 1. On the View Client, open Command Prompt, run the command “nc -l -u -p 4172” to set the View Client to listen on port 4172.
Step 2. On the Security Server, open Command Prompt, run the command “nc -u firewall_IPaddress_in_client_environment 4172” to transmit traffic over UDP port 4172 to the destination IP address.
Remotely control another computer via remote desktop software AnyViewer
If you’re tired of VMware Horizon Client “The connection to the remote computer ended” on Windows 10, another option for you to remotely control another computer is to use the free and stable remote desktop software AnyViewer. If you need to remotely access an unattended computer, AnyViewer is definitely your best choice. As long as both computers are logged in to the same account, you can easily connect one to another with one click. Let’s see how to make this happen.
Step 1. Download, install, and launch AnyViewer on both computers.
Step 2. Go to Log in, and then click Sign up. (If you already have signed up on its official website, you can log in directly.)
Step 3. Fill in the signup information.
Step 4. Then you can see you successfully logged in to AnyViewer. Your device will automatically be assigned to the account you've logged in to.
Step 5. Log in to the same AnyViewer account on the two devices, then click One-click control to achieve unattended remote access.
Conclusion
If you need to fix “The Connection to the Remote Computer Ended” on Horizon Client, please check out this post. Here we introduce the detailed steps on how to troubleshoot it. Besides, we also provide you with another option, which is using the third-party remote desktop software AnyViewer. If you’re looking for an easier way to remotely access another computer, you can give it a try.