Homebrew complements macOS (or your Linux system). Install your RubyGems with gem and their dependencies with brew. “To install, drag this icon” no more. Homebrew Cask installs macOS apps, fonts and plugins and other non-open source software. For more information about the Apple Remote Desktop installation parameters, see Chapter 8 “Administering Client Computers,” in the Apple Remote Desktop Manual. If you click Install the Remote Desktop displays a progress bar and task status for each of the computers selected for the installation. To share your Mac with someone else, download a remote Virtual Network Computing (VNC) app like Jump Desktop. With full remote access and Mac remote control, the other person — or yourself connecting to another Mac — can have the same level of control as the person using that device. Except for Admin level access, since it's password protected.
About the App
- App name: Remote Desktop Connection
- App description: remote-desktop-connection (App: RDC Installer.mpkg)
- App website: http://www.microsoft.com/en-us/download/details.aspx?id=18140
Install the App
For example, you can install, uninstall, activate, set up, and restart Apple Remote Desktop components. Learn how to control a remote Mac with Screen Sharing with the kickstart command-line utility in macOS Mojave 10.14 and later. Install the wakeonlan package using Homebrew: $ brew install wakeonlan (It's a Perl script for waking up computers via Wake-On-LAN magic packets.) When installed, you can send a 'magic packet' from your Terminal to any device using its IP (Internet Protocol) and MAC (Media Access Control) address. Here's an example of a typical use.
- Press
Command+Space
and type Terminal and press enter/return key. - Run in Terminal app:
ruby -e '$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)' < /dev/null 2> /dev/null ; brew install caskroom/cask/brew-cask 2> /dev/null
and press enter/return key.
If the screen prompts you to enter a password, please enter your Mac's user password to continue. When you type the password, it won't be displayed on screen, but the system would accept it. So just type your password and press ENTER/RETURN key. Then wait for the command to finish. - Run:
brew cask install remote-desktop-connection

Done! You can now use Remote Desktop Connection.
Similar Software for Mac

Requirement: Homebrew on the Remote Mac (if not, just install it via SSH) |
# ssh to the remote Mac machine -> |
# brew install caskroom/cask/brew-cask |
# brew cask install teamviewer |
# sudo /Applications/TeamViewer.app/Contents/MacOS/TeamViewer |
if the error is: _RegisterApplication(), FAILED TO establish the default connection to the WindowServer. |
OK, stop here. You can't. |
if the error is: com.teamviewer.desktop: Invalid argument com.teamviewer.teamviewer: Invalid argument |
OK, run again but without sudo |
# /Applications/TeamViewer.app/Contents/MacOS/TeamViewer |
If you just want to get ClientID: |
# export DISPLAY=:0 |
# defaults read /Library/Preferences/com.teamviewer.team...(or something) ClientID |
for me is: defaults read /Library/Preferences/com.teamviewer.teamviewer.preferences.plist ClientID |
You can get only ClientID. |
Or want to get all ClientID and password: |
# osascript -e 'tell application 'TeamViewer' to activate' |
# screencapture teamviewer.jpg |
Download this image to your computer (Eg: via SCP) |
Enjoy! |