I would like to turn on/off the HDMI via SSH.
I use this command to turn off the HDMI:
sudo tvservice -o
and it works fine, my monitor turns off.
But after that I would like to turn on the monitor with this command:
sudo tvservice -p
and my monitor turns on (the led on the monitor shows, the monitor is on) but no picture on the monitor; only a blank black screen.
What I should do turn on my monitor properly?