How to Install Teamviewer on a Headless Server
Teamviewer Installation has changed in the recent version, and the prior directions will not work. You will continue to receive an error after you insert the password saying there was a connectivity time out. The new way to install teamviewer is as follows:
Login
sudo bash
add-apt-repository “deb http://archive.ubuntu.com/ubuntu $(lsb_release -sc) universe”
apt-get update
apt-get install gdebi-core
mkdir /home/miner/teamviewer
cd /home/miner/teamviewer
wget https://download.teamviewer.com/download/linux/teamviewer-host_amd64.deb
dpkg -i teamviewer-host_amd64.deb
It will fail and that’s ok because we will fix it here
apt-get -f install
y
After it installs then type
teamviewer info
Take a note of your Teamviewer ID, you will need it later
teamviewer passwd YOURPASSWORDHERE
Now open teamviewer on another computer that you are logged into. Add the computer using the menu “Add Computer“, enter in your Teamviewer ID and the Password you used in YOURPASSWORDHERE, and you can now connect