[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: screenblanker vs login



On 14/02/18 15:30, Mark Morgan Lloyd wrote:
On 13/02/18 18:00, Alan Corey wrote:
No, I think it's at a lower level than X.  See if just a plain text
screen blanks.  I tracked it down once under OpenBSD and turned it off
but they have different names for things and that was 10 years or so
ago.

Apologies if I'm grabbing the wrong end of the stick etc. I'm currently wrestling with this using an ASUS Tinkerboard (RK3288 -based) running TinkerOS/Linaro and I think there are several different problems:

a) Disabling the GUI (window manager, desktop environment etc.) screen saver/blanker.

b) Telling the X11 server not to try to shut the screen down. That might require something like  xserver-command=X -s 0 dpms  (note: no leading dash) in lightdm.conf (or the equivalent for other display managers). If you don't do that, remote X11 (possibly also VNC) logins go irrecoverably black after ten minutes (that one thanks to a reminder in the Raspberry Pi foramina).

c) On the main text console (or possibly in a startup script):  setterm -blank 0  (Found on a Slackware system I set up 15 years ago).

d) Plus at least one other that I've not tracked down yet :-/

There's a syslog message like

rk3x-i2c ff650000.i2c: flags from: 0, 1, addr: 0x1b

approximately synchronised with the "winks", but I think that's a coincidence. TODO: disable i2c to see if it changes things.

It behaved itself for a few hours after I'd used setterm -blank 0 as root on the physical text console, but all of a sudden started again.

--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk

[Opinions above are the author's, not those of his employers or colleagues]


Reply to: