The most likely fault is a poor solder joint on the power supply pcb.
Thats the board the mains lead connects to.
Otherwise an intermittent Diode or transistor on the power board.
Two OR three companies supply a repair kit for just this fault in Samsung TVs , Charles Hyde is one of them.
M Carter
December 2011