Re: Cannot connect to Pi
If TeamViewer daemon is enabled it should start on startup.
To confirm that, please run the command
sudo teamviewer daemon status
Have a look into the Loaded line. If it's enabled it should look like
Loaded: loaded (/etc/systemd/system/teamviewerd.service; enabled; vendor preset: enabled)
If you need to enable it run the command
sudo teamviewer daemon enable
To set a password you may use the command line as well
sudo teamviewer passwd [password]
When you run TeamViewer on a device the ID will be the same. TeamViewer should not be opened by a virtual terminal like TightVNC, because it will not be able to grab the video as expected. That's the reason we suggest you restart the service to be able to run TeamViewer again without issues.
Hope this solution works for you. Don't hesitate to ask if you have extra questions or comments.