[SOLVED] VE 5.1 host - how to turn off laptop screen?

den

Member
Feb 19, 2015
64
1
6
hi all.

I have VE 5.1 host installed on a spare laptop. How do i turn off laptop screen? I don't want the console message burned onto the laptop screen.

Thanks
 
Try something like:
Code:
setterm -blank 5
(time in minutes)

This should blank the console after 5 minutes, but is only working until the next reboot.
If this is wanted permanently add "consoleblank=5" to the kernel command line, i.e., open "/etc/default/grub" and add "consoleblank=300" (time in seconds) to the GRUB_CMDLINE_LINUX property, e.g.:
Code:
GRUB_CMDLINE_LINUX="consoleblank=300"

Then run "update-grub" to apply the new config for the next boot.

You may also want to try/read:
https://unix.stackexchange.com/a/32043
https://askubuntu.com/a/62861
https://wiki.archlinux.org/index.ph...S_interaction_in_a_Linux_console_with_setterm
 
excellent! sorted. btw, where is the rc-local file? i wanted to simply add "setterm -blank 5" to the bottom of a local startup file. where is it now?
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!