Headless raspberry Pi3

Options

After boot teamviewer window is in foreground over the whole screen.
I have to press OK.
It is a kiosk system, so that is not good.

Is there a possibilty to start in background or autopress  OK.