How to launch max desktop gui when running SSH to Terminal CLI
Can I run a command while remotely connected to my terminal using SSH. On Linux it launches the gui from the shell But I have mac M1
MacBook Air 13″, macOS 13.1
Can I run a command while remotely connected to my terminal using SSH. On Linux it launches the gui from the shell But I have mac M1
MacBook Air 13″, macOS 13.1
open -a /path/to/app-name.app
However, it is going to start the app and display on the Mac.
VNC over an ssh tunnel would be better
ssh -L 12345:localhost:5900 username@mac.system
On the Linux system
vncviewer localhost:12345
or whatever VNC client you are using on Linux.
If your local system is another Mac, try macOS Screen Sharing, or the same ssh command, and then
Finder -> Go (menu) -> Connect to server -> vnc://localhost:12345
I see. So I can run the stage manger or app launcher as well to pick and choose without finding the app name. Or maybe my recent/open apps at the app bar. That might help although I’m guessing Finder will do everything I need sorry new to Mac.
How to launch max desktop gui when running SSH to Terminal CLI