Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Anyone running a screensaver with kdm?
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
gregcoit
Tux's lil' helper
Tux's lil' helper


Joined: 12 Jun 2002
Posts: 101

PostPosted: Wed Jun 19, 2002 5:51 pm    Post subject: Anyone running a screensaver with kdm? Reply with quote

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
View user's profile Send private message
garion911
Tux's lil' helper
Tux's lil' helper


Joined: 04 Jun 2002
Posts: 88

PostPosted: Thu Jun 20, 2002 3:28 am    Post subject: Reply with quote

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
View user's profile Send private message
gregcoit
Tux's lil' helper
Tux's lil' helper


Joined: 12 Jun 2002
Posts: 101

PostPosted: Thu Jun 20, 2002 11:32 pm    Post subject: Yep, tried that Reply with quote

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
View user's profile Send private message
garion911
Tux's lil' helper
Tux's lil' helper


Joined: 04 Jun 2002
Posts: 88

PostPosted: Sat Jun 22, 2002 3:39 am    Post subject: Reply with quote

A quick google returns this:

http://www.jwz.org/xscreensaver/man1.html#8

Something to try at least.
Back to top
View user's profile Send private message
gregcoit
Tux's lil' helper
Tux's lil' helper


Joined: 12 Jun 2002
Posts: 101

PostPosted: Sat Jun 22, 2002 6:00 am    Post subject: Yeah, I tried that too (I think) Reply with quote

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
View user's profile Send private message
!k
Tux's lil' helper
Tux's lil' helper


Joined: 11 Oct 2002
Posts: 93
Location: Minnesota

PostPosted: Fri Nov 15, 2002 5:18 pm    Post subject: Reply with quote

I was just searching the forums for insight on the very same issue, did you get it to work?

!k
Back to top
View user's profile Send private message
gregcoit
Tux's lil' helper
Tux's lil' helper


Joined: 12 Jun 2002
Posts: 101

PostPosted: Fri Nov 15, 2002 7:55 pm    Post subject: Yep Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum