Consegui fazer isso usando setterm -blank
Estou executando o Ubuntu Server em um laptop. Eu quero definir o tempo limite para 0 ou perto disso para que a tela fique desligada a menos que eu acorde.
Consegui fazer isso usando setterm -blank
Se você deseja fazer logout de usuários ociosos automaticamente para proteger o console local, tente "autologon".
$ apt-cache show autolog
Package: autolog
Priority: extra
Section: universe/admin
Installed-Size: 148
Maintainer: Ubuntu Developers <[email protected]>
Original-Maintainer: Luis Uribe <[email protected]>
Architecture: amd64
Version: 0.40-13.1
Depends: libc6 (>= 2.7), cron (>= 3.0pl1-42)
Recommends: exim4 | mail-transport-agent
Filename: pool/universe/a/autolog/autolog_0.40-13.1_amd64.deb
Size: 28022
MD5sum: 043c4d4087b377e1934a5496a36fd03a
SHA1: 6b1255ea2fcb9d9115309134073308964c124e7f
SHA256: 42f5609fd698f1bb4d5c472494c5a1a34cddc5566fb2708ccfc9b3c5ef4f11f4
Description-en: Terminates connections for idle users
Autolog terminates connections considered to be idle based on a large
variety of parameters.
Description-md5: 709929c5c8e5f8913099fd425517dfb3
Homepage: http://gitorious.org/debian-packages/autolog
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu