> I'm sure it worked though, if i don't disable it i get 1 -2 hours maximum and 
> then it blanks out.

You were asking how to automatically disable it.   I figured you could get some 
ideas on how to do that from the link.

To run commands like this before the display manager starts up (the program 
that gives the graphical login screen) traditionally you would modify 
/etc/X11/xdm/Xsetup or /etc/gdm/Init/Default or /etc/kde4/kdm/Xsetup or 
/etc/kde3/kdm/Xsetup or /etc/lightdm/lightdm-gtk-greeter.conf or whatever your 
display manager or  greeter uses.

But, from what they were saying, apparently the desktops don't respect whatever 
the display manager has set and insist on overriding it and turning the dpms 
back on so once you login any settings like that are lost.  That's why it only 
worked after you logged in.  Normally to automate that after login you would 
modify ~/.xinitrc, with the commands

DISPLAY=:0 xset -dpms
DISPLAY=:0 xset s off
DISPLAY=:0 xset s noblank
DISPLAY=:0 xset s noexpose
DISPLAY=:0 xset s 0 0

But the folks posting found that does not work anymore because the desktop 
manager forces dpms back on even after you login.

But whatever - I'm not actually really sure what you need, anyway.  All I can 
end with saying is that yes, I've also observed some video cards are not 
entirely compatible with some X servers and if you allow dpms to be on, it will 
bork the machine.

I'm old school and I generally disable the display manager entirely on FreeBSD 
and Linux servers.  All you get is a text mode command prompt.  If I want to 
run X, I login at the command line and run startx so putting xset commnds in 
~/.xinitrc works just fine for me.

Ted

Reply via email to