Apple Intelligence now features Image Playground, Genmoji, Writing Tools enhancements, seamless support for ChatGPT, and visual intelligence.

Apple Intelligence has also begun language expansion with localized English support for Australia, Canada, Ireland, New Zealand, South Africa, and the U.K. Learn more >

You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

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

Posted on Jan 16, 2023 1:54 PM

Reply
2 replies

Jan 16, 2023 2:24 PM in response to vlasiosk

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

How to launch max desktop gui when running SSH to Terminal CLI

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.