Install teamviewer from command line via a ssh connection
This post shows how to install TeamViewer remotely via an 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 the info command
- To start TeamViewer in the startup:
sudo systemctl enable teamviewerd.