6

for the longest time after about 5 minutes my screen would blank out. Now the screen will go blank after 5 minutes but then 2 seconds after that it will light up white and keep the laptop backlighting on. I didnt change any settings to my knowledge it just happened randomly after powering it on one day and has occurred since then.

I wish to resort back to blanking the screen out completely since i leave this computer on all the time and its hard to sleep with a huge white light all the time.

"xset dpms force off" just yeilds me ---- xset: unable to open display ""

8

You need to tell xset which display to use:

export DISPLAY=:0
xset q
  • 2
    > export DISPLAY=:0 > xset q after that I have ' unable to open display ":0" ' – KeyTrap Jun 12 '15 at 12:58
  • Had same problem when was trying to access monitor remotely with user other than logged in. – Nikolay Ruban Dec 11 '15 at 11:51
  • Then I get xset: unable to open display ":0" – yode Jul 2 '17 at 3:57
  • export DISPLAY=0 instead. It should work – shuva Oct 28 '18 at 15:06
2

Try vbetool instead xset:

sudo vbetool dpms off

It's works fine for me.

protected by Community May 25 '18 at 10:57

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).

Would you like to answer one of these unanswered questions instead?

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