Your monitor HDMI is a receiving input to display an image... Your Samsung TV is also a receiving input port... Between these 2 port, there is no source.... An output signal.... Got it?
I believed you are trying to connect PC to monitor using vga cable.
Next u are trying to connect PC dvi to the HDMI port of the TV. U just need a convertor.. dvi to HDMI....
You can't actually connect 2 output devices this way.