While you wait for answers, we may have found some information which could help you.
Click here for Samsung 40 Inch
Tv turns on for few minutes then turns off?
How can I fix my Samsung TV and Remote?
How can I fix my Samsung LE32D400?