Tagged
#launchd
1 post
-
macOS GUI Terminal vs. SSH Sessions: Why launchctl managername Matters
Open Terminal sitting at your Mac, then SSH into the same machine as the same user — both spawn what looks like the same zsh, but they behave very differently: keychain unlock state, environment variables, TCC permissions, pbcopy, TouchID, osascript notifications all diverge. Every one of those differences traces back to a single thing — whether launchctl managername reports Aqua or Background. This post walks through the gotchas you actually hit, the launchd domain machinery underneath, and how to make SSH sessions behave more like GUI ones when you're treating a Mac as a server.