在虚拟机中从Linux启动Windows程序。

时间:2022-10-04 16:51:17

I want to start a Windows program on virtual machine from Linux. Are there opportunities to start a program directly on VM from the outside. I tried WINE to emulate this program, but it does not work.

我想从Linux启动虚拟机上的Windows程序。是否有机会从外部直接在VM上启动程序。我试过WINE来模仿这个程序,但它不起作用。

One idea I have, to implement WebService on the virtual machine and call this from Linux. The web service would then call the program under Windows and play back the result.

我有一个想法,就是在虚拟机上实现WebService并从Linux调用它。然后,Web服务将在Windows下调用该程序并回放结果。

Has anyone experience or better ideas?

有没有经验或更好的想法?

1 个解决方案

#1


1  

Perhaps install freeSSHd on the Windows box, generate some public/private keys between your two servers, connect through to Windows and use use the cmd runas command to start your program/service.

也许在Windows机器上安装freeSSHd,在两台服务器之间生成一些公钥/私钥,连接到Windows并使用cmd runas命令启动程序/服务。

#1


1  

Perhaps install freeSSHd on the Windows box, generate some public/private keys between your two servers, connect through to Windows and use use the cmd runas command to start your program/service.

也许在Windows机器上安装freeSSHd,在两台服务器之间生成一些公钥/私钥,连接到Windows并使用cmd runas命令启动程序/服务。