Connect to external TV without main screen
sounds like you need to reset the PRAM/NVRAM which contains the resolution information. 

Here is the apple page (instructions) on doing it.

http://support.apple.com/kb/HT1379