pretty much the topic. as soon as i log in I am able to teamviewer into the box.
i ssh'd in and saw it was started / etc and it shows up in my list of machine to log into.
Happens to me too. After each restart in Ubuntu 18,.04.1 TeamViewer 13.2.26559 hangs connecting, after manually logging in in the remote computer, It connects but freeze the screen after few seconds. So far the only solution is to restart the TeamViewer service via SSH:
systemctl restart teamviewerd
Already tried reinstalling TeamViewer with no success...
Same issue here. It shows the computer as online after a remote restart, but then I still cannot connect (just fails with no error message) until I log in locally. After that I can connect remotely and everything works fine. The target computer is running Ubuntu 18 and TeamViewer 14 (start with system is checked).
Edit: see bobgutierrez's answer here: https://community.teamviewer.com/t5/Linux/Teamviewer-13-not-connecting-in-Ubuntu-18-04-Login-Screen/...
sudo gedit /etc/gdm3/custom.conf
Uncomment this line in custom.conf file: