I've installed TV as a server on a Ubuntu 12.04 box running 24/7. Unfortunately, the daemon service sometimes bugs and disconnects. I can fix this at the terminal with :
sudo teamviewer --daemon <stop/start>
But this requires local access to the server, which is not always possible. I could make a script to periodically check (start and stop) the service,
But I do not know how to issue a sudo
command within the script.
Can anyone help? Thanks!