解决虚拟机提示VMware Workstation cannot connect to the virtual machine的问题

本文介绍了解决VMware Workstation 11虚拟机无法连接的问题,主要原因是VMware授权服务未启动。通过更改服务启动类型为自动,并启动该服务,成功解决了问题。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

查看原文:http://www.ibloger.net/article/1876.html


今天打开VMware Workstation 11虚拟机时,弹出对话框,提示下述问题:

VMware Workstation cannot connect to the virtual machine. Make sure you have rights to run the program, access all directories the program uses, and access all directories for temporary files.
The VMware Authorization Service is not running。

具体如下图所示:



解决方法:

从提示消息我们可以看到,问题在于VMware授权服务没有开启,具体处理方法如下:

No1.  "This PC(我的电脑)"---右键"manage(管理)"---"Service and Applications(服务和应用)"---"Service(服务)"---右栏"Vmware Authorization Service".



No2.找到Vmware Authorization Service,点击右键属性.



No3. 将Startup Type(启动类型)改为Automatic(自动),点击“OK”.



No4.  在Vmware Authorization Service上,点击右键start(开始),即可看到已经在Running(运行).




至此,已经OK,打开虚拟机中的系统正常,问题解决。

建议大家碰到问题不要逃避,要敢于去面对,去解决,找到问题症结所在,下次才不会感到心虚,说不定某一天又会碰到同样的问题,到时候自然就游刃有余了,通过重装的方法固然也可以解决,但费时费力,是没办法中的办法。

[dragon@localhost ~]$ journalctl -u vmware-autostart.service -b -- Logs begin at Wed 2025-07-09 15:12:21 CST, end at Wed 2025-07-09 23:12:18 CST. -- 7月 09 15:12:30 localhost.localdomain systemd[1]: Started VMware Virtual Machine Auto Start. 7月 09 15:12:30 localhost.localdomain systemd[1]: vmware-autostart.service: Main process exited, code=exited, status> 7月 09 15:12:30 localhost.localdomain systemd[1]: vmware-autostart.service: Failed with result 'exit-code'. 7月 09 15:12:30 localhost.localdomain systemd[1]: vmware-autostart.service: Service RestartSec=100ms expired, schedu> 7月 09 15:12:30 localhost.localdomain systemd[1]: vmware-autostart.service: Scheduled restart job, restart counter i> 7月 09 15:12:30 localhost.localdomain systemd[1]: Stopped VMware Virtual Machine Auto Start. 7月 09 15:12:30 localhost.localdomain systemd[1]: Started VMware Virtual Machine Auto Start. 7月 09 15:12:30 localhost.localdomain systemd[1]: vmware-autostart.service: Main process exited, code=exited, status> 7月 09 15:12:30 localhost.localdomain systemd[1]: vmware-autostart.service: Failed with result 'exit-code'. 7月 09 15:12:30 localhost.localdomain systemd[1]: vmware-autostart.service: Service RestartSec=100ms expired, schedu> 7月 09 15:12:30 localhost.localdomain systemd[1]: vmware-autostart.service: Scheduled restart job, restart counter i> 7月 09 15:12:30 localhost.localdomain systemd[1]: Stopped VMware Virtual Machine Auto Start. 7月 09 15:12:30 localhost.localdomain systemd[1]: Started VMware Virtual Machine Auto Start. 7月 09 15:12:30 localhost.localdomain systemd[1]: vmware-autostart.service: Main process exited, code=exited, status> 7月 09 15:12:30 localhost.localdomain systemd[1]: vmware-autostart.service: Failed with result 'exit-code'. 7月 09 15:12:30 localhost.localdomain systemd[1]: vmware-autostart.service: Service RestartSec=100ms expired, schedu> 7月 09 15:12:30 localhost.localdomain systemd[1]: vmware-autostart.service: Scheduled restart job, restart counter i> 7月 09 15:12:30 localhost.localdomain systemd[1]: Stopped VMware Virtual Machine Auto Start. 7月 09 15:12:30 localhost.localdomain systemd[1]: Started VMware Virtual Machine Auto Start. 7月 09 15:12:30 localhost.localdomain systemd[1]: vmware-autostart.service: Main process exited, code=exited, status> 7月 09 15:12:30 localhost.localdomain systemd[1]: vmware-autostart.service: Failed with result 'exit-code'. lines 1-22 [dragon@localhost ~]$ sudo -u dragon /etc/init.d/vmware-autostart.sh Warning: program compiled against libxml 212 using older 209 Warning: program compiled against libxml 212 using older 209 [dragon@localhost ~]$ cd /home/dragon/vm/centos/ [dragon@localhost centos]$ ls centos-0.scoreboard centos-2.ovf centos.scoreboard nvram vmware-1.log centos-1.scoreboard centos-2.scoreboard centos.vmsd readme.txt vmware-2.log centos-2-0.vmdk centos-disk1.vmdk centos.vmx vmmcores-1.gz vmware.log 'centos-2 - 副本.ovf' centos-disk1.vmdk.lck centos.vmxf vmware-0.log [dragon@localhost centos]$ [dragon@localhost centos]$ vmrun list Total running VMs: 2 /home/dragon/vm/win2003/Windows2003.vmx /home/dragon/vm/centos/centos.vmx [dragon@localhost centos]$
最新发布
07-10
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值