Vmware: Unable to connect to remote host
To solve the: ‘Unable to connect to remote host error’ while trying to connect to remote Vmware server 1 the following could be tried:
1. Check on which port VMware Authentication Daemon is listening. This is defined in /etc/vmware/config file.
2. Try to telnet to that port.
vmhost:/etc/vmware # telnet localhost 904
Connected to localhost.
Escape character is '^]'.
220 VMware Authentication Daemon Version 1.10: SSL Required, MKSDisplayProtocol:VNC
Then while trying to connect to that server add that port after “:” in the hostname field: ex. 10.1.1.22:904
2. If VMware Authentication Daemon does not appear to be running it should be started by enabling vmware-authd service in /etc/xinet.d directory. To achieve that make sure it is enabled:
vmhost:/ # cat /etc/xinetd.d/vmware-authd
# default: on
# description: The VMware remote access authentification daemon
disable = no
port = 904
socket_type = stream
protocol = tcp
wait = no
user = root
server = /usr/sbin/vmware-authd
type = unlisted
Then restart xinetd daemon
esx1:/ # /etc/init.d/xinetd restart
Shutting down xinetd: done
Starting INET services. (xinetd) done