The View Agent installer fails to register a Linux virtual machine with View Connection Server.

Problem

When you install View Agent on a Linux virtual machine, the Agent Registration Failed error is displayed.

Cause

The View Agent installer might fail to register a Linux machine with View Connection Server for the following reasons:

  • The View Connection Server FQDN, domain name, user name, or password that was provided during View Agent installation was incorrect.

  • The View administrator user does not have the Agent Registration Administrators or Administrators role in View Administrator. Specifically, the Register Agent privilege is required to register View Agent with View Connection Server. Agent Registration Administrators is a restricted role that provides this minimum privilege.

  • The View administrator password contains a special character, such as $, that was not escaped with a backslash.

  • Reversible password encryption was not enabled on the Windows Server 2012 or 2012 R2 Active Directory (AD) server.

Procedure

  1. Verify that you have the correct View Connection Server FQDN, domain name, user name, and password.
  2. Verify that the View administrator user has the privileges to allow View Agent registration.
    1. In View Administrator, select View Configuration > Administrators.
    2. In the Administrators and Groups tab, select the View administrator user that you provided during View Agent installation.
    3. Verify that the user has the Agent Registration Administrators or Administrators role.
  3. If the View administrator password includes a special character, escape the special character with a backslash.

    For example: ab\$cdef

  4. On the Linux guest operating system, open the View Agent registration log.
    /usr/lib/vmware/viewagent/viewagent-registration.log
    
  5. If the View Agent registration log reports LDAP errors, and a message asks if reversible password encryption was enabled on a Windows Server 2012 or Windows Server 2012 R2 Active Directory (AD) server, enable reversible password encryption.
    1. On the AD server, open AD users and computers.
    2. Right-click the View Admin account, or create a new Linux View Agent account, and select Properties.
    3. Select the Account tab.
    4. In Account options, select the Store password using reversible encryption setting.
    5. Reset the View Admin password.
  6. Install View Agent on the Linux virtual machine again.