解决VMWare 的远程共享虚拟机MKS错误

远程连接Vmware workstation的时候提示了个错误:大概是vmware unable connect mks login incorrect。

google了一下很多solution,但是都不太靠谱,最后从 http://www.tediosity.com/vmware-unable-to-connect-to-the-mks/ 看到解释:

Unable to connect to the MKS: Login (username / password) incorrect

Open /etc/vmware/config with a text editor.

Add this: vmauthd.server.alwaysProxy = "TRUE"

Check your firewall config/network setup.

This error is caused by your vSphere client not able to communicate with the ESX/ESXi host directly.

All “Unable to connect to the MKS:” errors are network issues. Do not be fooled by the mention of certificate issues…

合着都是network issues,提的建议是代理一下。 又查了一下mks错误的端口是902,在服务器的防火墙打开对902的访问权限发现问题解决,还是直连应该更快点。

进一步检查了一下发现是vmware-authd.exe监听了902和912,干脆把这个exe放到防火墙的允许列表里面。

猜你喜欢

转载自flashing.iteye.com/blog/2184248