我尝试远程打开一个应用程序使用下面的命令,但我得到一个错误打开/激活远程计算机上的封闭应用通过PSSH的Mac os10.12.6
pssh -h node.txt -O StrictHostKeyChecking=no -l mapsadmin -i "open /Applications/FusionX.app"
下面是错误:
Stderr: LSOpenURLsWithRole() failed with error -10810 for the file /Applications/FusionX.app
mapsadmin是具有root权限的用户,依然无法获得运气。请帮我解决这个问题。
我已经使用AppleScript也尝试过,但没有运气
pssh -h node.txt -O StrictHostKeyChecking=no -l mapsadmin -i "osascript -e 'tell application \"FusionX\" to activate'"
[1] 16:07:31 [FAILURE] <IP address> Exited with error code 1
Stderr: 30:38: execution error: An error of type -10810 has occurred. (-10810)
帮我解决这个。在远程机器上是否还有其他功能需要启用?
您是否试过以下任何建议? – CJK