I have a problem to open an application with the Terminal on mac. I'm using a Macbook (running on High Sierra 10.13.6) and want to open an application on a remote computer using ssh. This remote computer is a Imac (MacOS Catalina).
I try to launch an application using the following command line :
open -a TeamViewer
but it fails to open and returns the following error message:
LSOpenURLsWithRole() failed for the application /Applications/TeamViewer.app with error -610.
Does anyone have an idea of how to solve this problem ?
Thanks,