There is a question on how to start, Teamviewer from commandline, to make outward connections, however I want to start the Teamviewer from commandline (So it can accept incoming
The way to do this is to use SSH and write this command: open /Applications/TeamViewer.app
Running teamviewer --help
on the command line in linux provides the following
TeamViewer 8.0.16675
teamviewer start TeamViewer user interface (if not running)
teamviewer --help print this help screen
teamviewer --version print version information
teamviewer --info print version, status, id
teamviewer --passwd [PASSWD] set a password (useful when installing remote (ssh)
teamviewer --ziplog create a zip containing all teamviewer logs (useful when contacting support)
teamviewer --daemon status show current status of the TeamViewer daemon
teamviewer --daemon start start TeamViewer daemon
teamviewer --daemon stop stop TeamViewer daemon
teamviewer --daemon restart stop/start TeamViewer daemon
teamviewer --daemon disable disable TeamViewer daemon - don't start daemon on system startup
teamviewer --daemon enable enable TeamViewer daemon - start daemon on system startup (default)
Running teamviewer
will launch what you describe as the setup interface. You need the daemon related commands. A running teamviewer daemon will "listen" for incoming connections.
You can run the daemon on an ad hoc basis using the teamviewer --daemon start
and teamviewer --daemon stop
commands or teamviewer --daemon enable
set the daemon to run at start up of the OS every time you boot.
I assume it will be similar if not the same for OS X.