i can set the screen on a laptop to turn off after 1 minute with:
Code: Select all
setterm -blank 1 -powersave powerdown
the solutions i've seen seem to indicate redirecting the command in the ssh session to tty1:
Code: Select all
sudo setterm -blank 1 -powersave powerdown >/dev/tty1
"setterm: terminal xterm does not support --blank
setterm: cannot (un)set powersave mode: Inappropriate ioctl for device"
any help is greatly appreciated