I have an ASUS VivoBook I recently set up as a server, but I can't figure out how to turn off its screen. Here's my /etc/rc.conf:
It doesn't turn off after 10 minutes of inactivity as one would expect. I don't have a GUI or anything like that, just a TTY. Preferably, I'd like to make it so that, if needed, the screen can still be turned on for a bit just by typing something on the keyboard.
I've also tried using vidcontrol():
Nothing happens.
Here's some info about my system:
Code:
clear_tmp_enable="YES"
syslogd_flags="-ss"
hostname="freebsd"
keymap="si.kbd"
ifconfig_ue0="DHCP"
ifconfig_ue0_ipv6="inet6 accept_rtadv"
sshd_enable="YES"
ntpd_enable="YES"
ntpd_sync_on_start="YES"
local_unbound_enable="YES"
powerd_enable="YES"
moused_enable="NO"
# Set dumpdev to "AUTO" to enable crash dumps, "NO" to disable
dumpdev="AUTO"
zfs_enable="YES"
blanktime=600
saver="green"
It doesn't turn off after 10 minutes of inactivity as one would expect. I don't have a GUI or anything like that, just a TTY. Preferably, I'd like to make it so that, if needed, the screen can still be turned on for a bit just by typing something on the keyboard.
I've also tried using vidcontrol():
Code:
gregor@freebsd:~ % sudo vidcontrol -t 1
vidcontrol: getting active vty: Inappropriate ioctl for device
gregor@freebsd:~ % sudo sh -c 'vidcontrol -t 1 < /dev/ttyv0'
Nothing happens.
Here's some info about my system:
Code:
gregor@freebsd:~ % sudo inxi -M
Duplicate specification "debug-width|debug-y|debug-zy:i" for option "debug-zy"
Machine:
Type: Notebook Mobo: ASUSTeK model: X430FA v: 1.0 serial: QCCXKL1TF90301427
UEFI: American Megatrends v: X430FA.309 date: 07/03/2020
gregor@freebsd:~ % inxi -SCG --display
Duplicate specification "debug-width|debug-y|debug-zy:i" for option "debug-zy"
System:
Host: freebsd Kernel: FreeBSD 15.1-RELEASE-p6 amd64 bits: 64 Desktop: N/A
OS: FreeBSD 15.1-RELEASE-p6
CPU:
Info: 8-core model: Intel Core i5-8265U bits: 64 type: MCP cache: N/A
Speed (MHz): 1800 min/max: N/A cores: No OS support for core speeds.
Graphics:
Device-1: Intel WhiskeyLake-U GT2 [UHD Graphics 620] driver: vgapci
Display: server: No display server data found. Headless machine?
Message: No advanced graphics data found on this system.