On 8/26/24 14:09, fxkl4...@protonmail.com wrote:
On Mon, 26 Aug 2024, gene heskett wrote:

rpib runniing bookworm. Private net. rt-preempt kernel. Security is a
closed garage door and lead projectiles for unwanted guests.

xfce4 desktop, running linuxcnc, which controls all 255 volt power to an
11x56" lathe with several horsepower at its disposal. New install, came
across a dangerous situation yesterday.

Basically using the lathe as a jig to hold a long piece I was tapping by
hand, powered up but stopped. screen blanker came on and locked me out
till I logged back in leaving linuxcnc live but hidden behind a black
screen.  This is a dangerous condition if he wrong key is hit to wake it up.

That monitor AND the idling rpi4b draw about 22 watts, and is turned off
only for maintenance.  UPS, standby generator, uptimes might be years.

Replacing a CRT power hungry monitor means the only reason to blank a
screen and interpose a login is security against prying eyes in an
office environment.

Soooo, what do I remove to absolutely, permanently disable the screen
blanker? And I mean no chance it can ever do that to me again.


the debian folks do a pretty good job of packaging for most folks
you can disable and uninstall till the cows come home
the next update and it's right back
sometimes you need to treat the system like a child and enforce the rules

ls -l /usr/bin/xscreensaver

no such file here... Debian, back to playing 52 pickup again.
But locate to the rescue:
/etc/xdg/autostart/xscreensaver.desktop
so sudo chmod 644 /etc/xdp/autostart/xscreensaver.desktop
sudo chattr +i /etc/xdp/autostart/xsreensaver.desktop
looks like it ought to work.

i do
chmod 644 /usr/bin/xscreensaver
chattr +i /usr/bin/xscreensaver

this usually works
then add this to a file i keep of things i modify

Thank you.

Cheers, Gene Heskett, CET.
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis

Reply via email to