This post shows how to install TeamViewer remotely via a ssh connection
- Firstly, you need to download the
.debfile from TeamViewer home page.
- Install the package with
sudo dpkg -i teamviewer_amd64.deb.
- The terminal may show this error
dpkg: error processing package teamviewer (--install): dependency problems - leaving unconfigured
If positive, run
sudo apt install -fy, then run the above command again.
- Setup control password
sudo teamviewer passwd my_secret_password.
- Then, you can have teamviewer id in the result of info command
- To start teamviewer in startup:
sudo systemctl enable teamviewerd.