LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 03-28-2004, 02:28 PM   #1
trey85stang
Senior Member
 
Registered: Sep 2003
Posts: 1,090

Rep: Reputation: 41
howto: Launch xscreensaver on bootup??


I would like to be able to have screensaver run as a daemon on bootup?? (im hoping to have a screen saver kick on while sitting at the init4 login manager) is there anyway to do this?? Im not sure which file to edit and what to put in so that screen saver can launch..

im not even sure it can be launched at startup since it probably requires X... is this possible??

thanks
trey
 
Old 03-28-2004, 06:46 PM   #2
slackMeUp
Member
 
Registered: Nov 2003
Distribution: Slack-where?
Posts: 654

Rep: Reputation: 30
Well you do need to be in X to run the xscreensaver program. You see the xscreensaver needs config info (what screen saver to use and how long untill it pops up) to run so you need to be logged in for the settings to talk effect... however if you like you can plug it into the run-level 4 script, this will run the deamon as root and should (in theory) work while in GDM/XDM/KDM/WDM only when you log in it will still be running and your DE will want to run it's version of xscreensaver. So you will need to turn off your normal users screensaver and be fine with everyone having the same screen saver and only being able to change it when you are logged in as root.

On top of all that. You will need to put up with doing this nasty hack... which can be hard for the linux noob. If you want to see a screensaver while knowing you need a password to access the computer why not just use xlock? While logged in just open a term (or creat a icon) and type in xlock. A screen saver will popup and when you move your mouse it will ask for a your user password... then if you like it just man xlock and read how you can configure it.
 
Old 03-28-2004, 07:10 PM   #3
trey85stang
Senior Member
 
Registered: Sep 2003
Posts: 1,090

Original Poster
Rep: Reputation: 41
Quote:
Originally posted by slackMeUp
Well you do need to be in X to run the xscreensaver program. You see the xscreensaver needs config info (what screen saver to use and how long untill it pops up) to run so you need to be logged in for the settings to talk effect... however if you like you can plug it into the run-level 4 script, this will run the deamon as root and should (in theory) work while in GDM/XDM/KDM/WDM only when you log in it will still be running and your DE will want to run it's version of xscreensaver. So you will need to turn off your normal users screensaver and be fine with everyone having the same screen saver and only being able to change it when you are logged in as root.

On top of all that. You will need to put up with doing this nasty hack... which can be hard for the linux noob. If you want to see a screensaver while knowing you need a password to access the computer why not just use xlock? While logged in just open a term (or creat a icon) and type in xlock. A screen saver will popup and when you move your mouse it will ask for a your user password... then if you like it just man xlock and read how you can configure it.
ok, Thanks for the info, What you said explains what I needed to know. I dont want to have it running all the time for root.... I just wanted to be able to have the screen saver runnign while at the login manager in init 4.

No biggie!!

thanks
trey
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Howto launch script at startup sendas4 Linux - Newbie 2 03-10-2005 10:51 AM
Howto change boot-up options to launch KDE or gnome? flipwils11 Linux - Software 3 01-13-2005 11:42 AM
xscreensaver installed, but no xscreensaver-demo command? dalesan Linux - Software 7 09-01-2004 01:06 PM
Where to put xscreensaver to launch as daemon chrisk5527 Linux - General 2 05-18-2004 11:01 PM
help starting xscreensaver at bootup rose_bud4201 Linux - Software 2 01-10-2003 06:25 AM


All times are GMT -5. The time now is 04:10 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration