You are not logged in.
My monitor doesn't turn off when it stays at user login prompt in TTY.
I do not have X automatically started upon reboot, so when the computer boots it hangs there in TTY with the initial "hostname login:" prompt.
Arch Linux 6.1.4-arch1-1 (tty1)
hostname login: _This is the intended behavior. The problem is that the display never goes to sleep when it stays without logging in. When I log in and start X (XFCE4) power management seems to be working just fine, but I'd like it to go to sleep in TTY as well.
Neither https://wiki.archlinux.org/title/Power_management nor https://wiki.archlinux.org/title/Displa … _Signaling address this for TTY login.
Guidance is much appreciated!!
Offline
https://superuser.com/questions/152347/ … g-behavior
Search engines are good, m'kay?
Jin, Jîyan, Azadî
Offline
I see your google and raise the wiki the OP linked ![]()
https://wiki.archlinux.org/title/Displa … th_setterm
I guess the question is a bit ambigious and the critical part is
The problem is that the display never goes to sleep when it stays without logging in.
@cherio, https://wiki.archlinux.org/title/Getty is started by a systemd service, you could edit that and ExecStartPre some setterm commands…
Also Apple Jacks ftw!
Offline
I see your google and raise the wiki the OP linked
Gah! *shakes fist at seth* ![]()
I guess the question is a bit ambigious and the critical part is
The problem is that the display never goes to sleep when it stays without logging in.
The consoleblank parameter works regardless of login status, I think.
Last edited by Head_on_a_Stick (2023-01-11 20:50:36)
Jin, Jîyan, Azadî
Offline
Search engines are good, m'kay?
I guess you erroneously assumed I didn't search ![]()
The link you reference suggest using commands which requires initialized interactive terminal.
The consoleblank=120 kernel parameter in GRUB has no effect. The following are console related log entries
$ journalctl -b | grep console
Jan 11 10:14:33 host kernel: Command line: BOOT_IMAGE=/vmlinuz-linux root=UUID=xxxxxxxx-ef0b-48d4-a7bc-xxxxxxxxxxxx rw consoleblank=120 loglevel=5
Jan 11 10:14:33 host kernel: Kernel command line: BOOT_IMAGE=/vmlinuz-linux root=UUID=xxxxxxxx-ef0b-48d4-a7bc-xxxxxxxxxxxx rw consoleblank=120 loglevel=5
Jan 11 10:14:33 host kernel: printk: console [tty0] enabled
Jan 11 10:14:33 host kernel: fbcon: Taking over console
Jan 11 10:14:33 host kernel: i915 0000:00:02.0: vgaarb: deactivate vga consoleIt should work, but it doesn't ¯\_(°ʖ°)_/¯
Offline
Yes, but
Note:
Console blanking alone does not enable DPMS power saving.
Offline
@cherio, https://wiki.archlinux.org/title/Getty is started by a systemd service, you could edit that and ExecStartPre some setterm commands…
That ^^^ I WILL try shortly ............
Offline
The consoleblank=120 kernel parameter in GRUB has no effect.
It won't poewr off your monitor, but does it not even blank the console after 2 minutes?
There could be some spurious input in which case powersav/powerdown might also fail.
Did you try those after the login btw?
(APM_DISPLAY_BLANK could be a pending problem)
Offline
It won't poewr off your monitor, but does it not even blank the console after 2 minutes?
Yes sir, the monitor stays lit past 2 minutes. Running from remote SSH session, the 2 min parameter is still there:
$ cat /sys/module/kernel/parameters/consoleblank
120Did you try those after the login btw?
Yes sir, the monitor stays lit after 2 min even after logging into physical console.
The following commands executed after logging into console don't have an effect either:
setterm --powersave on --powerdown 1
setterm --blank 1And just as I mentioned before XFCE4 has no issues either just blanking the screen or putting the monitor to sleep.
(APM_DISPLAY_BLANK could be a pending problem)
I read about it too, but was hoping there was a solution that doesn't involve recompiling kernel
Offline
console blanking works somewhat here (right promt stays on, but the background color changes to black) but powersave indeed doesn't.
XFCE4 has no issues
To be more precise, X11 has no issues (or to be even more precisererer: its DPMS extension)
This isn't relevant to the console context at all.
hoping there was a solution that doesn't involve recompiling kernel
Did you try https://superuser.com/a/1357404 ?
Offline
I guess you erroneously assumed I didn't search
In future please be sure to include everything you have already researched and tried in the OP to avoid wasting the time of those who attempt to help. Thanks.
Jin, Jîyan, Azadî
Offline