4

Since installing the latest build of Raspbian onto my Rasberry Pi 3, I've been getting the following error:

setterm: terminal xterm-256color does not support --blank setterm: cannot (un)set powersave mode: Inappropriate ioctl for device

I've found a couple of posts on this topic, but none have offered a solution to the issue. I've tried the solution listed here e.g. adding consoleBlank=0 to /boot/cmdline.txt, but to no avail. Also suggested here.

Within this thread the above solution is mentioned but also that this issue could be a general bug with latest version of Raspbian (or Debian).

Is there any thing left to try? Is this indeed a bug?

frederickk
  • 41
  • 1
  • 1
  • 2

3 Answers3

3

Not Raspberry Pi specific but I ended up here from Googling setterm: terminal xterm-256color does not support --blank

If you are ssh'd into your machine and trying to run the setterm command, you will need to physically be in front of the machine in a tty for the command to work. Hope this helps someone

jamzsabb
  • 131
  • 1
2

An xterm cannot possibly have support for power saving; you can't power-save part of the screen and have the rest be on!

JayEye
  • 1,908
  • 12
  • 19
0

I was able to turn off the display of the laptop by putting this command physically on to the machine and not via SSH:

setterm --blank force