LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 12-27-2009, 12:38 PM   #1
MadAtUbuntu
LQ Newbie
 
Registered: Dec 2009
Location: Northern California USA
Distribution: Ubuntu Server 8.04.3 Hardy
Posts: 14

Rep: Reputation: 0
How Do I Prevent Display From Shutting Off?


Ok, I got Ubuntu Hardy here. and Ive tried

setterm -blank 0 -store

And I have tried

apci=off <--I added this to my kernel line in the grub boot loader

And neither have prevented the display from shutting down.

I like running htop and having a display up and would like to know how to prevent the display from shutting off, this is a pure command line system.

If any of you pros might be willing to share a small nugget or tip with me I would be smiling about it all day, thank you.

Last edited by MadAtUbuntu; 12-27-2009 at 12:47 PM.
 
Old 12-27-2009, 02:11 PM   #2
hoodooman
Member
 
Registered: Oct 2006
Location: Stirling in Scotland
Distribution: Slackware 13.37 64 bit
Posts: 297

Rep: Reputation: 42
Im using Slackware so things might be a bit different but have a look at /etc/rc.d/rc.M.There is a line in mine as follows

# Screen blanks after 15 minutes idle time, and powers down in one hour
# if the kernel supports APM or ACPI power management:
/bin/setterm -blank 15 -powersave powerdown -powerdown 60

Just a guess but this may be what you are looking for.Just hash out the line starting with /bin and that command will not run.I haven't tried this personally.Maybe someone else will come in with a reply to back this up before you try it.Also have a look at "man setterm".
 
Old 12-27-2009, 02:36 PM   #3
MadAtUbuntu
LQ Newbie
 
Registered: Dec 2009
Location: Northern California USA
Distribution: Ubuntu Server 8.04.3 Hardy
Posts: 14

Original Poster
Rep: Reputation: 0
Yeah I think its different in Ubuntu
 
  


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
Prevent a non-root user from shutting down, rebooting or suspend the system m2azer Linux - Security 7 10-30-2007 08:15 AM
Shutting down x? Shady195 Linux - Newbie 2 10-16-2005 08:14 PM
shutting down? colincannon Linux - Newbie 8 06-22-2005 11:41 PM
strange display when shutting down or logging out of desktop pf1359 Linux - Distributions 1 01-29-2004 06:04 AM
Shutting Down X Aljaber Slackware 8 11-09-2003 01:00 AM


All times are GMT -5. The time now is 11:06 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