On Tuesday 21 March 2006 10:01 am, Phil Davey wrote:
> However, for my clients I've enabled DPMS to blank the screens. This seems
> to work whether they are logged in or not.
>
> I just added these lines to the default section of lts.conf
>
> X_DPMS = Y
> X_DPMS_STANDBYTIME = 5
> X_DPMS_SUSPENDTIME = 10
> X_DPMS_OFFTIME = 15
This does indeed work, however there's a gotcha. My lts.conf file had this:
[Default]
SCREEN_01 = startx
SCREEN_02 = startx
SCREEN_03 = shell
... to which I added the "DPMS" lines shown above. That didn't work very
well. For the first login after a reboot of the thin client, all was well.
However, on the second login the screen goes (to use a technical term)
"nuts".
Characters are double echoed on the login screen, then disappear. The cursor
moves around wildly. Spurious characters are echoed in the login and
password fields. If you're persistent and ignore what you see on the screen
(and still type everything correctly), you can log in.
However, although the desktop screen will show up, it won't refresh correctly.
As you move the mouse around, you'll see various bits of the screen "exposed"
incorrectly. Most amusingly, the little window in which you type your login
name from the login screen, will be painted on your desktop and will not go
away. It's also kept above any other window, so it obscures whatever is
shown in any window that appears below it. Fun!
I should probably mention that my desktop/server is running KDE and uses the
default KDE login screen (SuSE 10 on AMD 64).
After much experimenting, I discovered that removing the second "startx"
session on "Screen 2" resolved the problem. Now, I have:
SCREEN_01 = startx
SCREEN_02 = shell
... AND the "DPMS" config setup and everything works fine. The monitor even
goes into sleep mode at the prescribed times. :-)
Sounds like a bug in there somewhere, but I don't know if it's LTSP or the X
server itself.
--
Jeff Clark
----------
If Bill Gates had a nickel for every time Windows crashed...
Oh wait! He does!
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_____________________________________________________________________
Ltsp-discuss mailing list. To un-subscribe, or change prefs, goto:
https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help, try #ltsp channel on irc.freenode.net