Linux – Silencing Linux console output


I installed a minimalist distribution for my mom to use, it uses rungetty to autologin and an init script that just does 'startx'. Everything works great but when she goes to shutdown, it drops back to the console for a while before turning off (Old PC).

Is there a way to pipe or silence all output to tty1/console. When X closes, the screen should be blank and then turn off.


Best Answer

Haven't tried it, but you should be able to add "console=/dev/null" to the kernel parameters in grub or lilo. If not, try console=ttyS0 to redirect to the serial port (assuming you don't have anything connected to the serial port, maybe a non-existant serial port would be safer such as console=ttyS7).

Related Question