Knowledge Base

The VMware Knowledge Base provides support solutions, error messages and troubleshooting guides
 
Search the VMware Knowledge Base (KB)   View by Article ID
 

Connecting to the virtual desktop from the VMware View Client fails with the error: Virtual Desktop in not available

Symptoms

  • Connecting to the virtual desktop from VMware View Client fails.
  • You see the error:

    Virtual Desktop is not available

  • When viewing the virtual desktop in the View Admin console in Desktop Sources View, the virtual machine status shows as:

    Waiting for Agent

Resolution

This issue may occur if:
  • The Agent is not installed or if the version is not the same as the Connection Server.
  • The virtual desktop cannot communicate with the Connection Server over port 4001.
To resolve this issue, ensure that the Agent is installed and that the version is the same as the Connection Server. If installing the correct version of the Agent does not resolve this issue, verify that the Virtual Desktop can communicate to the Connection Server over port 4001.
Ports required from Client to Agent without Security Server are:
  • 3389 - RDP
  • 50002 - PCoIP
  • 4172 - PCoIP (View 4.6)
  • 4001 -JMS
Port required from Client to Agent with Security Server is:
  • 80 - HTTP & 443 to Security Server
To verify that the virtual desktop can communicate to the Connection Server over port 4001:
  1. Click Start > Run, type cmd, and click OK.
  2. Run this command to perform a netstat on the Virtual Desktop:

    netstat -an

    If there is a connection between the local address and the Connection Server, the output looks similar to:

    Proto Local Address Foreign Address State
    TCP "IPOfVirtualMachine:random Port" "IP of the Connection Server:4001 ESTABLISHED
    -------------------------------------------------------------------------------

    Note: Connectivity can be also tested by performing a netstat on the Connection Server. In this case, t he output looks similar to:

    Proto Local Address Foreign Address State
    TCP "IP of the Connection Server:4001 "IPOfVirtualMachine:random Port" ESTABLISHED
    -------------------------------------------------------------------------------
  3. Run this command to test if the port is open and accessible from the virtual desktop:

    telnet <ipaddress> 4001

    If you receive a connection error, check for a firewall enabled on the virtual desktop, Connection Server, or in the network infrastructure between the two points.

Additional Information

Also, check if :
  • You can RDP from the Connection Broker to Agent
  • The View connection service is running on the Connection Server.

Tags

view-client-connection-issues

Update History

06/16/2010 - Added content in Additional Information section.

Request a Product Feature

To request a new product feature or to provide feedback on a VMware product, please visit the Request a Product Feature page.

Feedback


Did this article help you?
This article resolved my issue.
This article did not resolve my issue.
This article helped but additional information was required to resolve my issue.
What can we do to improve this information? (4000 or fewer characters)
Actions
KB: