Today teamviewer started to act very strange, with no apparent changes to the computers involved.
I can see the remote computer (headless server), I can connect initially and come to the login screen for Ubuntu 16.04. However, when I ty and log into my Ubuntu account teamviewer seems to stall and the connection is dropped. If I try and reconnect, I a connection could not be estabolished. I can still connect to the machine by SSH so there is no issue with an internet connection or the machine crashing.