If my OSMC Pi boots without display switched on, when I switch it on I get no output

If my OSMC Pi boots without display switched on, when I switch it on I get no output whereas if I boot with my TV already switched on I get the output.

Is there any way to set it to boot with a video output regardless of if my display is switched on yet?

I have root access to my Pi via SSH.

Any help would be appreciated.

Thanks

try adding the following lines in config.txt

hdmi_group=1
hdmi_mode=16
hdmi_force_hotplug=1
hdmi_edid_file=1

hdmi_mode=16 will set your screen to 1080p 60hz. If your tv is different check the number code in

1 Like

Thanks! I will try this tomorrow and get back to you!

Just to confirm that this is the /boot/config.txt file?

Thanks again!

http://kodi.wiki/view/Raspberry_Pi_FAQ#TV_is_not_detected_unless_powered_on_first

1 Like

This seems to have worked, will keep testing over the next few days! Thanks