[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: no blanking on consoles



On Thu, 10 May 2007 14:44:57 +0200
Loic Le Loarer <lll_deb@m4x.org> wrote:

> Hi,
> 
> I have several servers which VGA output is connected to the same
> screen by a VGA switch (a KVM). If I want to let the screen go in
> standby mode, I just connect it to an unplugged KVM input or switch
> it off manually. So I don't have any interes in console automatic
> blanking activated by default. Moreover, if a machine crashes, I'd
> like to see the last kernel messages on the console, (which are often
> not written to disk) so that I can debug the problem, but the console
> blanking prevent me to see those messages.
> 
> I have found a way to remove the console blanking, it is enough to run
> the command "setterm -blank 0" on the console after each reboot, which
> necessitate to log in the machine.
> 
> My question is: is there an easier way to configure the console
> options at boot time ? (something like running setterm with the
> wanted options at boot time on each virtual console). I haven't found
> any configuration file which can be used for this, even after
> extensive reading of terminfo documentation, console-data and related
> packages...
> 
> Thank you in advance for your help.
> 
> Best regards.

Have a look at /etc/init.d/console-screen.sh, which
sources /etc/console-tools/config.

-- 

Liam



Reply to: