I was watching a movie and suddenly I was logged out. When I logged back in, Team Viewer was started immediately, although it's not on startup programs.
Quickly I opened the terminal and gave the command
sudo last, but it was not showing anything suspicious. Last but not least, no updates were made.