Use TeamViewer without GUI, in pure console mode. That may be helpfull if you need to get easy access to a remote Linux server, that is located behind NAT.
$ cd ~/Downloads/
$ wget https://download.teamviewer.com/download/linux/teamviewer_i386.deb
$ sudo dpkg -i teamviewer_i386.deb
$ teamviewer help # list of commands, but not all of them, I don't know why
$ teamviewer info # check TV daemon status and get TV ID $ sudo teamviewer passwd [password] # set new password