The remote computer was reboot and i can't go in its autorun TeamViewer

view story

http://askubuntu.com – The remote computer has a login/password and i want to save its procedure. TeamViewer is running from autorun programs on a remote machine and gives me free access, but it does not start until the remote user logs in. How can i solve it? Ubuntu 12.04 (HowTos)