View previous topic :: View next topic |
Author |
Message |
gregcoit Tux's lil' helper
Joined: 12 Jun 2002 Posts: 101
|
Posted: Wed Jun 19, 2002 5:51 pm Post subject: Anyone running a screensaver with kdm? |
|
|
Hey all,
I run a computer game/internet cafe with gentoo boxes. Every client has an account (using nfs and a common password/shadom file) so hen someone is not using the computer it's at kdm. It sure would be nice to have a screensaver (either xscreensaver or kde's version) running while the computer is at kdm. I read the xscreensaver man pages and tried to modify the instructions for kdm, but no luck so far (part of the problem is the screen blanks pretty quick - maybe before xscreensaver can kick in).
Anybody have this working?
Thanks!
Greg Coit
gregcoit@yahoo.com |
|
Back to top |
|
|
garion911 Tux's lil' helper
Joined: 04 Jun 2002 Posts: 88
|
Posted: Thu Jun 20, 2002 3:28 am Post subject: |
|
|
After a quick read of the man for xdm, maybe you can modify the Xsetup file for KDM (/usr/kde/3/share/config/kdm/Xsetup, or the like) and add xscreensaver there? Dno't forget the & at the end of the line... |
|
Back to top |
|
|
gregcoit Tux's lil' helper
Joined: 12 Jun 2002 Posts: 101
|
Posted: Thu Jun 20, 2002 11:32 pm Post subject: Yep, tried that |
|
|
Yep, I tried that - kdm has the same config files as xdm. But, no luck.
Maybe the problem is that the screen blanks out before the screensaver can kick in? Hmmmm.
Any ideas how to disable this (no luck in XF86Config).
Sure would like this to work - I can't believe no one has been succesful with this before. _________________ "Life would be so much easier if we could see the source code" |
|
Back to top |
|
|
garion911 Tux's lil' helper
Joined: 04 Jun 2002 Posts: 88
|
|
Back to top |
|
|
gregcoit Tux's lil' helper
Joined: 12 Jun 2002 Posts: 101
|
Posted: Sat Jun 22, 2002 6:00 am Post subject: Yeah, I tried that too (I think) |
|
|
The man page for xscreensaver indicates that's it's possible (and easy
to do) provided you're using xdm.
I've been trying to get this to work using kdm with no luck.
I added this to the bottom of /usr/kde/3/share/config/kdm/Xsetup and
/usr/kde/3/share/config/kdm/Xreset:
xhost +localhost
xscreensaver-command -exit
xscreensaver -no-splash -silent &
Then I added this to the top of /usr/kde/3/share/config/kdm/Xstartup:
xhost -local
xscreensaver-command -exit
This seems just like what xdm's man page describes for setting up xscreensaver with xdm (but modified by me for kdm). Still no luck. _________________ "Life would be so much easier if we could see the source code" |
|
Back to top |
|
|
!k Tux's lil' helper
Joined: 11 Oct 2002 Posts: 93 Location: Minnesota
|
Posted: Fri Nov 15, 2002 5:18 pm Post subject: |
|
|
I was just searching the forums for insight on the very same issue, did you get it to work?
!k |
|
Back to top |
|
|
gregcoit Tux's lil' helper
Joined: 12 Jun 2002 Posts: 101
|
Posted: Fri Nov 15, 2002 7:55 pm Post subject: Yep |
|
|
I did get it finally. It turns out that the instructions in man xdm work cause kdm uses those files in making it's own (which means the files I were editing in my previous post were getting overwritten). So, this is what I did:
Added the following to /etc/X11/xdm/Xsession file (near the top, just below the error redirection subroutine):
xscreensaver-command -exit
xscreensaver &
Then, I added the following to the /etc/X11/xdm/Xsetup_0 file (again, near the top, just above the gentoo specific stuff):
xxhost +localhost
xscreensaver-command -exit
xscreensaver &
Hope this helps (let me know if it doesn't).
Greg _________________ "Life would be so much easier if we could see the source code" |
|
Back to top |
|
|
|