Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
03-11-2002, 03:41 PM
|
#1
|
LQ Newbie
Registered: Feb 2002
Location: New Jersey
Posts: 8
Rep:
|
Blank screen - screen saver ???
When my system sits idle for about 10 minutes, the screen blanks out and my web server is not accessable. I have read numerous theads that indicate xset and setterm commands, such as: xset s off, setterm s noblank s 0, I've even tried staying in text mode rather than enter kdm, yet nothing does the trick. Help
There's gotta be something simple that I'm missing?
Thanks in Advance,
Chris
|
|
|
03-11-2002, 05:21 PM
|
#2
|
Moderator
Registered: May 2001
Posts: 29,417
|
xset s noblank
xset s 0 0
works for me.
|
|
|
03-12-2002, 12:35 PM
|
#3
|
LQ Newbie
Registered: Feb 2002
Location: New Jersey
Posts: 8
Original Poster
Rep:
|
Still a no-go
I've tryed the above settings but still the blank sleep mode. I also tried disabling the dpms (power settings). Any ideas, could it be a video card setting?
Looking a the xset info: blanking is set to no, timout is 0, cycle is 0, and allow exposures is set to no (I tried yes too). I also tried with the screen saver turned both on and off.
|
|
|
03-12-2002, 12:52 PM
|
#4
|
LQ Guru
Registered: Aug 2001
Location: London, UK
Distribution: Slackware
Posts: 5,700
Rep:
|
This sounds like a bigger problem than setterm that just deals with output to your monitor, this seems like you have apmd set to put your whole machine to sleep after a certain idle time. Does this only happen to the webserver, or do all other daemon services cack out too? Also, what distro?
Luck,
Finegan
|
|
|
03-12-2002, 01:14 PM
|
#5
|
LQ Newbie
Registered: Feb 2002
Location: New Jersey
Posts: 8
Original Poster
Rep:
|
It appears that you are correct, smb is also down. It's redhat 7.2.
|
|
|
03-12-2002, 01:49 PM
|
#6
|
LQ Guru
Registered: Aug 2001
Location: London, UK
Distribution: Slackware
Posts: 5,700
Rep:
|
Its got to be something having to do with putting your machine to sleep. My guess is apmd, but I don't know much about these daemons as I've never had a problem with them.
If you:
ps aux | grep apmd
and then kill the Pid of that bugger (assuming it doesn't restart... RH does wiggy things), and the machine makes it past 10 minutes at idle then that was it.
Although, honestly I never usually suggest this, but there's probably some cute gui tool in whatever X desktop you're using that could stop it... or:
Reboot the machine, go into BIOS and disable all the cute power management feature that might be it.
Cheers,
Finegan
|
|
|
03-12-2002, 01:57 PM
|
#7
|
LQ Newbie
Registered: Feb 2002
Location: New Jersey
Posts: 8
Original Poster
Rep:
|
Thanks for the input, I disabled the APM in the BIOS, if this dosen't work I'll try the other stuff you suggested.
Thanks Again,
Chris
|
|
|
03-12-2002, 02:47 PM
|
#8
|
LQ Newbie
Registered: Feb 2002
Location: New Jersey
Posts: 8
Original Poster
Rep:
|
Finegan -- you are the man! This has been driving me up the wall.
Disabling APM in the BIOS seems to have done the trick. It's been up for about an hour.
Thanks Again,
Chris
|
|
|
03-13-2002, 09:44 PM
|
#9
|
Member
Registered: Jan 2002
Location: Stevens Point, WI
Distribution: Mandrake 10.0 (P4 2.8 w/ HT, Radeon 9700 Pro, 80 GB/120GB HDDs)
Posts: 242
Rep:
|
Another way you can disable APM is in the kernel itself... if you have the kernel sources installed and run a configure on them it asks about power management and whether to enable it or disable it... (at least under slack...), and that should REALLY do the trick if nothing else works...
|
|
|
All times are GMT -5. The time now is 05:10 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|