linux vga wake up screen

C++
apt install laptop-mode-tools

Open the ui and check the mark next to "Enable module video-out"
Source

Also in C++: