I don't like TeamViewer taking up space on the Dock. I followed this tutorial to hide the dock icon, leaving me with only a menubar icon, which works great. TeamViewer is set to start at login.
However, in a MacBook Pro with discrete graphics, when logging into another computer, TeamViewer forces a switch to discrete graphics, and even after logging out of said computer, it stays that way, which is of course awful for battery life.
I am forced to quit TeamViewer so I can go back to integrated graphics and decent battery life. However, if I try to launch TeamViewer again, it doesn't work -- I get a request to type my password to install a helper tool, and then nothing.
What should I do to simulate whatever procedure is performed during system boot that allows TeamViewer to start?