Interesting Teamviewer can be also installed remotely through SSH. For example, the remote Server is Ubuntu 16.04 LTS:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
wget https://download.teamviewer.com/download/teamviewer_i386.deb
sudo apt-get install gdebi-core
sudo gdebi teamviewer_i386.deb
teamviewer --help
 
# Get Teamviewer ID
teamviewer --info
teamviewer passwd <your password>
 
# Interactively agree or show/agree to End User License Agreement.
sudo service lightdm status
sudo service lightdm stop
sudo teamviewer license accept
sudo service lightdm start
 
teamviewer daemon start
 
# showing infos
sudo netstat -ntap | grep teamviewer
vi /opt/teamviewer/config/global.conf