Live Chat & Podcast at 1:00PM Eastern on Sunday!
There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
Search
Linux and Unix
Tag Cloud
access acer asus bios bsod computer crash driver drivers error ethernet excel freeze gaming gpu hard drive hardware hdmi internet laptop mac malware memory monitor motherboard music network printer problem ram registry router server slow software sound trojan ubuntu 11.10 uninstall usb video virus vista wifi windows windows 7 windows 7 32 bit windows 7 64 bit windows xp wireless
Search
Search for:
Tech Support Guy Forums > Operating Systems > Linux and Unix >
How to use xscreensaver

Reply  
Thread Tools
royeo's Avatar
Computer Specs
Member with 158 posts.
 
Join Date: Jul 2006
Experience: Intermediate
30-Nov-2006, 08:38 PM #1
How to use xscreensaver
I have FC-5 and use KDE.

As I said before my built in screen saver program doesn't work so I'm trying to use "xscreensaver". To set the times you run a program called "xscreensaver-demo". That brings up a dialog box that allows you to set parameters. It has a place that says "Blank After" This controls how long the computer is idle before the selected screen saver kicks in. Another place called "Cycle After" does just what it says. Another place called "Lock Screen After" lets you elect to lock the screen and the amount of time this locking function starts after the screen saver kicks in.

When I run "xscreensaver-demo" in a terminal a little screen comes up "WARNING" me that:

"The XScreenSaver daemon doesn't seem to be running on display ":0.0". Launch it now?"

and then below that you can hit "OK" or "Cancel". When I hit "Cancel" "Xscreensaver" doesn't work but when I hit "OK" it works fine.

I put the command "xscreensaver" (without the quotes) in the file "rc.local" so it would be run automatically every time I went into FC-5. Now I get the message:

"xscreensaver: warning: $DISPLAY daemon is not set defaulting to ":0.0"'

xscreensaver doesn't work in this configuration. I think I need to do more stuff but what? I think I need to start the xscreensaver daemon but how? I think I need to set the display but how? If someone can help me please do.

Thanks,

royeo
drgoodtrips's Avatar
Computer Specs
Junior Member with 17 posts.
 
Join Date: Nov 2006
Experience: Developer
30-Nov-2006, 09:41 PM #2
Quote:
Originally Posted by royeo
I have FC-5 and use KDE.

As I said before my built in screen saver program doesn't work so I'm trying to use "xscreensaver". To set the times you run a program called "xscreensaver-demo". That brings up a dialog box that allows you to set parameters. It has a place that says "Blank After" This controls how long the computer is idle before the selected screen saver kicks in. Another place called "Cycle After" does just what it says. Another place called "Lock Screen After" lets you elect to lock the screen and the amount of time this locking function starts after the screen saver kicks in.

When I run "xscreensaver-demo" in a terminal a little screen comes up "WARNING" me that:

"The XScreenSaver daemon doesn't seem to be running on display ":0.0". Launch it now?"

and then below that you can hit "OK" or "Cancel". When I hit "Cancel" "Xscreensaver" doesn't work but when I hit "OK" it works fine.

I put the command "xscreensaver" (without the quotes) in the file "rc.local" so it would be run automatically every time I went into FC-5. Now I get the message:

"xscreensaver: warning: $DISPLAY daemon is not set defaulting to ":0.0"'

xscreensaver doesn't work in this configuration. I think I need to do more stuff but what? I think I need to start the xscreensaver daemon but how? I think I need to set the display but how? If someone can help me please do.

Thanks,

royeo
Is your DISPLAY environment variable set? If you're not familiar with how to check, try opening a command shell and typing "env | grep DISPLAY". In most setups, you should see something like "DISPLAY=0.0". If it's set to something else, or you get a blank screen, then you aren't setting that variable on startup. You could set it in your rc.local file, right before running the xscreensaver app. Alternatively, you could look at the xscreensaver documentation to see if you need to supply some kind of command line argument to it.
royeo's Avatar
Computer Specs
Member with 158 posts.
 
Join Date: Jul 2006
Experience: Intermediate
01-Dec-2006, 01:45 AM #3
How to set the $DISPLAY enviroment variable
Thanks for telling me that stuff. I wish I had a more private way to communicate with you but this site doesn't provide that info. I'm not even sure you'll read this. I don't know much about Linux.

How do you set an environment variable? Specifically the $DISPLAY variable. Also, I don't know anything about daemons. If I had an error message that said the "xscreensaver" daemon wasn't running, how would I launch it? Right now I just have the command "xscreensaver" on a line in rc.local.

Thanks,

royeo
fenderfreek's Avatar
Computer Specs
Senior Member with 201 posts.
 
Join Date: Mar 2006
Location: Raleigh, NC
Experience: Advanced
01-Dec-2006, 08:52 AM #4
If you need to set an environment variable, like DISPLAY, just do
Code:
DISPLAY=0:0
As far as daemons, there's a specific way to run every one. It's simply a program that does something while running in the background, so for xscreensaver, simply running the command should be enough to load it.

(And yes, there is a PM system on this site, but for this kind of thing, keep it in here. You may not be the only one that needs this question answered!)

Best of luck to you!
__________________
NCSU CSC Major
Registered Linux user #433004
  • Dell Vostro 1500 with Ubuntu 7.10
  • Intel Q6600 Quad Desktop running XP Pro
If this helped you, please take the time to rate the value of this post: http://rate.affero.net/fenderfreek/

Windows [n.] - A thirty-two bit extension and GUI shell to a sixteen bit patch to an eight bit operating system originally coded for a four bit microprocessor and sold by a two-bit company that can't stand one bit of competition.
phornax's Avatar
Junior Member with 1 posts.
 
Join Date: Aug 2007
20-Aug-2007, 06:29 PM #5
What actually works. even as root, use of KDE, whatever...You need to type "xscreensaver-demo &" in rc.local AND add "xscreensaver &" in .bashrc in your home directory.

Last edited by phornax; 21-Aug-2007 at 12:11 AM..
Reply

THIS THREAD HAS EXPIRED.
Are you having the same problem? We have volunteers ready to answer your question, but first you'll have to join for free. Need help getting started? Check out our Welcome Guide.

Search Tech Support Guy

Find the solution to your
computer problem!




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
WELCOME TO TECH SUPPORT GUY! Are you looking for the solution to your computer problem? Join our site today to ask your question -- for free! Our site is run completely by volunteers who want to help you solve your computer problems. See our Welcome Guide to get started.
Thread Tools



Facebook Facebook Twitter Twitter TechGuy.tv TechGuy.tv Mobile TSG Mobile
You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -4. The time now is 05:51 PM.
Copyright © 1996 - 2011 TechGuy, Inc. All rights reserved.

Powered by Cermak Technologies, Inc.