Trouble with shutting down screen in Ubuntu server

Solution 1:

So I actually got an answer here: https://askubuntu.com/questions/1277533/ubuntu-20-04-on-a-laptop-is-there-any-way-toturn-off-the-screen/1350374#1350374

To turn off the screen:

sudo mount -o remount,exec /dev
sudo vbetool dpms off
sudo mount -o remount,noexec /dev

In order to turn it on again:

sudo mount -o remount,exec /dev
sudo vbetool dpms on
sudo mount -o remount,noexec /dev

It works! For me at least... Hope it will work as well for any google user that ends up in this place.