I’m running a debian server and because the pc is in my room and always running I want to shutdown the monitor.
I have no graphic interface so
xset dpms force off
doesn’t work (returning: xset: unable to open display “”)
I try “setterm powerdown” commands but it only “clear” the screen but it still produces light (black screen but with background light … )
So after major google research I’m comming here.
The cool thing will be shutdown monitor after inactivity and power on if a keyboard keys is pressed.
Only poweroff the screen will be fine because I’m using ssh to manage the server.
I’m not an expert on linux commands but i remember that it is similiar to something “xset -display :0 dpms force off”. You can try this one.