转载自:https://www.driftar.ch/index.php/2017/03/20/vmware-workstation-unable-to-connect-to-the-mks-login-incorrect/
文末附有原文

检查ESXi防火墙

下一步是确保ESXi防火墙没有阻止通信。确保打开以下传入端口:443、902、903

我检查了,一切正常。但是我仍然收到此错误消息。我在防火墙端口列​​表上没有看到的唯一端口是903。而且我无法打开此端口。但是我知道上次将vCenter连接到VMware Workstation时这不是问题。

在ESXi主机上编辑配置文件

好吧,我不确定那是不是要走的路。考虑可能的更新等。某些配置文件可能会被覆盖。但是我还是检查了一下。它在我的实验室中,当出现问题或不起作用时,我可以修复它并学习一些东西。

您可以使用Putty / SSH和vi编辑该文件,也可以使用WinSCP。连接到ESXi主机并在/ etc / vmware / config中找到配置文件 。

添加行 vmauthd.server.alwaysProxy =“ TRUE”

我也不确定是否需要重新启动,我进行了重新启动,但也无法正常工作。

使用其他端口进行身份验证

您可以尝试在VMware Workstation中编辑config.ini文件,该文件位于“ C:\ ProgramData \ VMware \ VMware Workstation \ config.ini ”中。

authd.client.port =“ 903”更改为authd.client.port =“ 902”

之后,重新启动“ VMware Authorization Service”,您就可以了。

那确实在我的系统上起到了作用,我能够通过VMware Workstation连接到我的VM。

原文:

VMware Workstation – Unable to connect to the MKS: Login incorrect
20. March 2017 by karl
Today i ran into the problem that i wasn’t able to connect to my vCenter via VMware Workstation. If you’re working in your homelab it’s probably helpful sometimes to have access to a VM console without to connect to an ESXi host, a vCenter Web Client or even via RDP to some management client. You can easily connect to your vCenter with VMware Workstation. I wrote a short article about how to save the login credentials in VMware Workstation.

The error message i’ve had was:

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

mks

I’m pretty sure that this wasn’t the case. I’ve tried it with the @vsphere.local admin and also with my domain administrator. But no success.

When i searched for a solution i’ve found many hints and tips. Let me show you what i’ve found and what was my solution at the end.

Check the ESXi firewall
Next step is to make sure that the ESXi firewall isn’t blocking communication. Make sure the following incoming ports are open: 443, 902, 903

I checked that, all ok. But i still got this error message. The only port i didn’t see on the firewall port list was 903. And i wasn’t able to open this port. But i knew that this wasn’t the issue when i connected my vCenter to my VMware Workstation the last time.

Edit a config file on your ESXi host
Well, i’m not sure if that’s the way to go. Thinking about possible updates etc. some configuration files might get overwritten. But i checked it anyway. It’s in my lab and when something goes wrong or does not work, i can fix it and learn something.

You can use Putty / SSH and vi to edit this file, or go comfortable with WinSCP. Connect to your ESXi host and locate the config file at /etc/vmware/config.

Add the line vmauthd.server.alwaysProxy = “TRUE”

I’m also not sure if a restart is necessary, i did a restart, but it didn’t work either.

Use another port for authentication
You can try to edit the config.ini file in VMware Workstation, located at “C:\ProgramData\VMware\VMware Workstation\config.ini“.

Change the line authd.client.port = “903” to authd.client.port = “902”. After that restart the “VMware Authorization Service” and you should be fine.

That did the trick on my system, i was able to connect to my VMs through VMware Workstation.

Hint: if you’re working with Notepad++ (highly recommended!) then you’re able to save the file after granting administrative access (you see what i mean when you try to save the file). If you’re working with another text editor, you should start this text editor as administrator (just right click => run as administrator). Otherwise you probably won’t be able to save the changes.

vmware workstations 共享虚拟机 failed to connect 903相关推荐

  1. 运行虚拟机报错:vmware workstations与devicecredential不兼容(终极解决方案)

    运行虚拟机报错:vmware workstations与devicecredential不兼容 参考文献: 终极解决方案: https://jingyan.baidu.com/article/da10 ...

  2. 虚拟机的三大服务器启动不了,Win7系统下共享虚拟机提示VMware Workstation Server共享服务不能启动如何解决?...

    最近有Win7系统用户在安装使用虚拟机后,发现共享虚拟机时弹跳出来了错误的VMware Workstation Server共享服务不能启动的提示窗口,这使用户非常苦恼,那么Win7系统下共享虚拟机提 ...

  3. VMware Workstations 打开.vmx 虚拟机无反应问题

    原因1:最有可能是因为 VMWare Workstations 软件运行的权限不够. 解决1:在该软件右键以管理员身份来运行就ok. 原因2:防火墙拦截. 解决2:可以试试:断网.关闭杀毒软件.关闭防 ...

  4. eve虚拟机服务器如何配置,EVE-NG在VMware Workstations环境部署 | IT运维网

    安装方式有两种:ISO镜像安装,OVA镜像包安装:两者比较OVA安装比较便捷,推荐OVA安装. 环境规划: 1.物理机BIOS开启虚拟化功能 2.本地网络环境需要有DHCP服务,否则EVE拿不到地址会 ...

  5. Windows下VMware Workstations Pro15.5.0安装dmg镜像(macOS Catalina 10.15虚拟机)

    喜闻乐见.大快人心.普天同庆.奔走相告\color{red}喜闻乐见.大快人心.普天同庆.奔走相告喜闻乐见.大快人心.普天同庆.奔走相告 喜闻乐见.大快人心.普天同庆.奔走相告\color{red}喜 ...

  6. VMware Workstations Pro 14 建立的虚拟机目录无法删除

    起因 通过VMware新建的RedHat虚拟机,无意间的强制关机,导致该虚拟机开机黑屏无法正常开启,而且也关不掉 尝试删除自己创建的虚拟机目录文件,提示文件被占用 通过任务管理器想要结束相关进程vmw ...

  7. Linux Xshell连接不到虚拟机 -- Could not connect to ‘xxx.xxx.xxx.xxx‘ (port 22): Connection failed

    前言 本来用Xshell连的好好的,突然有一天就不行了QAQ,网上搜的各种方法都试了就是不行,最后乱蒙成功,下面分享一下我都用了哪些方法,还有最后一次使用的方法~~ 解决方式 1.在VMware中检查 ...

  8. ESXi6.5环境搭建(一:VMware Workstations 12 Pro 环境的安装及配置)

    实验目的及要求 完成VMware workstations安装,会应用相关操作: 完成虚拟机中ESXI6.5平台的安装及网络环境配置: 完成VMware vSphere Client 6.0软件在PC ...

  9. Mac Vmware Fusion在虚拟机中共享文件夹

    配置Vmware Fusion 点击小扳手,在打开的界面中点击Sharing 配置一个共享文件夹,多个也可以,这个文件夹就是共享的文件夹,文件夹下的所有文件.文件夹都将被虚拟机与宿主机共享 随便放一个 ...

  10. VMware添加共享硬盘

    因为软件安装包需要在多台虚拟机上使用,为了不用每次都往虚拟机上上传文件,可以使用VMware的共享硬盘. 环境: VMware12 OracleLinux 第一台虚拟机 1.编辑虚拟机,添加硬盘 2. ...

最新文章

  1. java head head.next_Java: 链表head取出用后,置next=null为何可以加速gc?
  2. 【转】js老生常谈之this,constructor ,prototype
  3. 蚊子132 各方人员都“照顾”到位则业务会很乐观
  4. 【转】总结oninput、onchange与onpropertychange事件的用法和区别
  5. Windows下给WSL子系统(Kali)换源,使用binwalk,outguess等工具
  6. M0+体系结构与指令系统简介
  7. 使用VLC-QT开源库开发流媒体播放器
  8. 看电影学英语是学习口语的最佳方式
  9. poi事件模式读取excel
  10. 吉大计算机学院课外八学分,通知|关于吉林大学课外八学分相关规定
  11. barbie黄佳丽--华侨大学
  12. 人生历程中的几个观念瓶颈
  13. 利用inotify+rsync实现linux文件批量更新
  14. 希尔伯特变换的实现——数据分析漫谈3
  15. html视频怎么编辑倍速,浏览器flash/html5视频播放如何倍速(Enounce MySpeed)
  16. 通俗学AI(3):VGG套路得人心
  17. 1.[C# Winform]BackgroundWorker实现进度条的那点事儿
  18. 把字符串'123.456'转换成浮点数 123.456(廖雪峰,拓展)
  19. 急性喉炎发病四个主要原因
  20. PhotoShop 颜色替换工具、仿制图章工具

热门文章

  1. 免费的银行联行号查询/接口
  2. 由浅入深理解JVM垃圾回收机制
  3. (1.6w字)浏览器与前端性能灵魂之问,请问你能接得住几个?
  4. python回归算法预测数据_python逻辑回归算法预测
  5. 《黑客帝国》观后感之我所理解的地球矩阵
  6. oracle库导出命令,Oracle数据库导出、导入命令
  7. WIN10虚拟机安装教程
  8. WPF 点击按钮打开新窗口
  9. H5app 调用手机摄像头拍照、录制视频并上传demo
  10. 2021年山东省安全员C证考试内容及山东省安全员C证考试试卷