arch1mede Posted March 25, 2021 Share Posted March 25, 2021 (edited) anyone know how to disable the console screen blanking out, I have already tried setterm --blank 0, cat /sys/module/kernel/parameters/consoleblank and its not 0, still saying 900. The instructions I found were for 6.8.3 so something must have changes for 6.9.0 Edited March 25, 2021 by arch1mede Quote Link to comment
arch1mede Posted March 25, 2021 Author Share Posted March 25, 2021 OK so I finally found the solution for this consoleblank=0 cat /sys/module/kernel/parameters/consoleblank should now reflect 0 Quote Link to comment
John_M Posted March 25, 2021 Share Posted March 25, 2021 57 minutes ago, arch1mede said: consoleblank=0 cat /sys/module/kernel/parameters/consoleblank That doesn't work from the command line. Do you mean that it has to be set as a kernel parameter? Quote Link to comment
codefaux Posted April 29, 2021 Share Posted April 29, 2021 (edited) Came here looking for the answer, had to confirm it but yes. NOPE. Apparently this kernel parameter is ignored. Similarly, you should ignore this post and scroll down to my next one, with an answer which seemingly works. ------ https://www.kernel.org/doc/html/v4.14/admin-guide/kernel-parameters.html I'm about to tell you how to edit your kernel parameters, which requires messing with your boot configuration. Don't do this unless you REALLY get it. Back up your files first anyway, because if you mess this up it won't boot. You've been warned. Open up /boot/syslinux/syslinux.cfg with the knowledge that you're safe because you have a backup. I use nano over ssh, ie nano /boot/syslinux/syslinux.cfg or equivalent, you know the deal. Find your boot parameters. Here's mine, YMMV.; You'll note I have security mitigations disabled, and that this has "no performance impact(tm)" on most hardware and that it's generally a stupid idea. Just as an example. What you want to do, is carefully add the entry consoleblank=0 anywhere after initrd=/bzroot with a space around it. No run-on words. Save, exit. In Nano that's Ctrl+X followed by Y and Enter. Reboot, and it shouldn't blank or break. If it did, thankfully you have that backup. You did make that backup, right? NOTES: - I use PUTTY for Windows. There's nothing better if you Just Need SSH(TM) - Since I keep seeing "Most users are okay hitting a key to bring the terminal up" -- WHAT IF IT CRASHED? What if you wanted to see the dieing gasp of a screen? That happened to me A LOT recently and having the console not blank would've been handy, so there ARE valid uses. Stop needing to justify everyone else's desires. Edited April 29, 2021 by codefaux WRONG SOLUTION Quote Link to comment
JorgeB Posted April 29, 2021 Share Posted April 29, 2021 FYI you can easily edit the syslinux configuration by clicking on the flash drive in main (raw view must be selected on the top right): Quote Link to comment
JorgeB Posted April 29, 2021 Share Posted April 29, 2021 BTW, adding that parameter is not working for me: root@Tower15:~# cat /sys/module/kernel/parameters/consoleblank 900 Quote Link to comment
codefaux Posted April 29, 2021 Share Posted April 29, 2021 1 hour ago, JorgeB said: FYI you can easily edit the syslinux configuration by clicking on the flash drive in main (raw view must be selected on the top right): Correct, I keep forgetting that because I honestly prefer the terminal. I'll try to remember to offer that in the future. 1 hour ago, JorgeB said: not working You are....not wrong. Huh. That's the first time I've seen a kernel parameter outright ignored in a while. Okay, a different method, and I actually rebooted to test this one -- we add setterm -blank 0 to /boot/config/go and I'll let you all sort out how to get there and edit it yourselves. You didn't forget that backup, right? 1 2 Quote Link to comment
JorgeB Posted April 29, 2021 Share Posted April 29, 2021 20 minutes ago, codefaux said: we add setterm -blank 0 to /boot/config/go This works. 1 Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.