xset: unable to open display
Solution 1:
You need to tell xset
which display to use:
export DISPLAY=:0
xset q
Solution 2:
Try vbetool
instead xset
:
sudo vbetool dpms off
It's works fine for me.
You need to tell xset
which display to use:
export DISPLAY=:0
xset q
Try vbetool
instead xset
:
sudo vbetool dpms off
It's works fine for me.