PDA

View Full Version : power management


hirohitosan
January 20th, 2009, 17:39
Hi there. I installed X on my FreeBSD box and I noticed that my monitor goes to sleep after a while and then turn off.

How can I disable the power management or something like this?

I want my monitor to stay on.

Thanks

SirDice
January 20th, 2009, 17:43
In the monitor section of /etc/X11/xorg.conf add:


Option "DPMS" "off"

hirohitosan
January 20th, 2009, 18:52
I have nothing in /etc/X11/
but I have in /root/xorg.conf.new

I add there Option "DPMS" "off"

I restarted X, but after 10 min the monitor went to sleep ...

I tried also:
# xset -dpms
xset: unable to open display ""

vermaden
January 21st, 2009, 07:12
# xset -dpms
From root account?

Never use x11 as root.

hirohitosan
January 21st, 2009, 14:06
finally I add in ~/.xinirc before starting wm
xset -dpmsand it works