7

I have a workflow where I use SSH in terminal in conjunction with remote desktop, and I often use the open command in SSH to open something in the GUI.

However, recently it stopped working with the following failure:

$ ssh 127.0.0.1
$ open .
The application cannot be opened for an unexpected reason, error=Error Domain=NSOSStatusErrorDomain Code=-600 "procNotFound: no eligible process with specified descriptor" UserInfo={_LSLine=387, _LSFunction=_LSAnnotateAndSendAppleEventWithOptions}

Just running open . locally on the machine works fine, it opens finder at the current working directory. It also seems to have started happening recently in Mac OS Monterey, but I wasn't able to track down exactly on which version it stopped working.

Any ideas what is causing this or how it can be worked around?

2
  • 1
    Have you Google searched some of those errors? I looked up one, and got this thread, which simply says to reboot. I assume you tried it, but worth mentioning. developer.apple.com/forums/thread/653027 Commented Aug 4, 2022 at 16:42
  • I'm curious, are you using tmux? I had this problem when running open from inside tmux. I quit tmux server (involves closing all windows) and reopened, and now the problem is gone and I haven't found a way to make the problem reoccur (to file a bug report). Commented Nov 12, 2025 at 1:43

0

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.