LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   change display settings without using a GUI? (https://www.linuxquestions.org/questions/linux-newbie-8/change-display-settings-without-using-a-gui-891394/)

tux-junkie 07-12-2011 09:59 PM

change display settings without using a GUI?
 
i have debian squeeze installed on an old computer to use as a file/web server. i had an extra monitor laying around and wanted to use it with the server. after about half an hour or so, it turns off and i have to press a key on the keyboard to get it to turn back on. i'm not sure how to keep it from doing this without installing a gui. does anyone know how to do this?

chrism01 07-13-2011 12:22 AM

If you're just using this as a server, it doesn't need a GUI or even monitor (once its running).
Are you trying to use this as a desktop as well?

MTK358 07-13-2011 07:12 AM

Quote:

Originally Posted by chrism01 (Post 4413387)
it doesn't need a GUI

Where did the OP say that (s)he wants to use a GUI?

i92guboj 07-13-2011 08:37 AM

Quote:

Originally Posted by bloody_maiden (Post 4413303)
i have debian squeeze installed on an old computer to use as a file/web server. i had an extra monitor laying around and wanted to use it with the server. after about half an hour or so, it turns off and i have to press a key on the keyboard to get it to turn back on. i'm not sure how to keep it from doing this without installing a gui. does anyone know how to do this?

I think you are looking for setterm, look here for example.

http://www.cyberciti.biz/tips/linux-...ing-blank.html

tux-junkie 07-13-2011 05:37 PM

thank you for all the replies. sorry if i wasn't very clear... i don't want to use a gui and i know i don't need a monitor. i just have this monitor sitting around and wanted to use it for something. i just want the monitor to constantly display running processes on the server without needing a keyboard connected to it as well.

when i tried the command "setterm -powersave off -blank 0," it says: "cannot <un>set powersave mode." does anyone know of a way around this?

Edit: would "setterm -powerdown 0" have the same effect?

chrism01 07-13-2011 05:44 PM

I was just trying to clarify the problem ...

tux-junkie 07-13-2011 05:51 PM

Quote:

Originally Posted by chrism01 (Post 4414263)
I was just trying to clarify the problem ...

yes, i'm sorry i wasn't more specific in the initial post. i don't really have enough RAM on this system to use it as a desktop, so i'm just using it as a samba/ftp server.

chrism01 07-13-2011 06:51 PM

no worries :)
You post #5 is much clearer; good luck

tux-junkie 07-13-2011 08:15 PM

in case anyone else has this problem, the command "setterm -powerdown 0 -blank 0" worked. i am trying to figure out how to execute this command on startup. i'm confused because i see so many different ways to do this. if i just add "setterm -powerdown 0 -blank 0" to /etc/rc.local and /etc/init.d/rc.local, should that do the trick?

nooneknowme 07-14-2011 02:16 AM

Quote:

Originally Posted by bloody_maiden (Post 4414346)
in case anyone else has this problem, the command "setterm -powerdown 0 -blank 0" worked. i am trying to figure out how to execute this command on startup. i'm confused because i see so many different ways to do this. if i just add "setterm -powerdown 0 -blank 0" to /etc/rc.local and /etc/init.d/rc.local, should that do the trick?


Yes .. adding it to the rc.local file should do the trick.

i92guboj 07-14-2011 04:41 AM

You could as well recompile your kernel with all the acpi stuff disabled. Or, pass acpi=off to your kernel via the boot loader, I suppose.


All times are GMT -5. The time now is 12:12 PM.