Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am running 12.04 Ubuntu Server and my screen blanks after some time. I am unable to unblank it without power cycling the computer.

I can however log in via ssh and type who see that the tty1 terminal is active.

I have asked this question here twice before and have accepted the solutions that worked at that time.

  • using console-tools
  • editing /etc/kbd/config

These no longer work. How do I prevent Ubuntu Server from blanking the screen? Or at least unblank it without a power cycle?

I am not using X.

share|improve this question
What do you mean by "These no longer work."? What happened? – schaiba Nov 26 '13 at 21:09
Which settings in /etc/kbd/config did you change? – basic6 Jul 24 '15 at 14:09

run the following on system startup (e.g. on Debian based systems i put it into /etc/rc.local)

 setterm -blank 0 -powersave off -powerdown 0
share|improve this answer
Before I put that in rc.local, I ran that command at the terminal after a power cycle (using sudo). and now my screen is off. It did not work. – Lord Loh. Nov 26 '13 at 22:11

This should not be happening. Maybe you have defective hardware that slowly overheats and then blanks? Timing how long it takes exactly after a warm reboot to blank and a cold one could tell you. The cold one (machine off for at least 10 Minutes) should take a bit longer.

share|improve this answer
Does not happen with a different OS! – Lord Loh. Dec 4 '13 at 6:55

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.