I just upgraded to 20.04 from 18 for my Ubuntu server which runs on a laptop. I have an alias that runs at startup that uses vbetool to turn off the screen
sudo sh -c 'vbetool dpms off; read ans; vbetool dpms on'
but it doesn't work now on 20. When I try to run the alias manually, I get:
mmap /dev/zero: Operation not permitted
Failed to initialise LRMI (Linux Real-Mode Interface).
I just want the laptop screen to power off after booting. Any help would be appreciated.