From nobody Thu Oct 03 15:46:40 2024 X-Original-To: freebsd-questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4XKGJB5VVWz5YTH1 for ; Thu, 03 Oct 2024 15:46:50 +0000 (UTC) (envelope-from freebsd-doc@fjl.co.uk) Received: from bs2.fjl.org.uk (bs2.fjl.org.uk [84.45.41.208]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "bs2.fjl.org.uk", Issuer "bs2.fjl.org.uk" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XKGJ94dMCz4k4w for ; Thu, 3 Oct 2024 15:46:49 +0000 (UTC) (envelope-from freebsd-doc@fjl.co.uk) Authentication-Results: mx1.freebsd.org; dkim=none; spf=pass (mx1.freebsd.org: domain of freebsd-doc@fjl.co.uk designates 84.45.41.208 as permitted sender) smtp.mailfrom=freebsd-doc@fjl.co.uk; dmarc=none Received: from roundcube.fjl.uk ([192.168.0.2]) by bs2.fjl.org.uk (8.16.1/8.16.1) with ESMTP id 493Fke3P029667 for ; Thu, 3 Oct 2024 15:46:40 GMT (envelope-from freebsd-doc@fjl.co.uk) List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-questions@freebsd.org Sender: owner-freebsd-questions@FreeBSD.org MIME-Version: 1.0 Date: Thu, 03 Oct 2024 16:46:40 +0100 From: Frank Leonhardt To: freebsd-questions@freebsd.org Cc: freebsd-questions@freebsd.org Subject: Re: Stop console going blank (if it is) In-Reply-To: <86ldz6wxh2.fsf@ltc.des.dev> References: <86ldz6wxh2.fsf@ltc.des.dev> Message-ID: <58fcbd866e7f344513b04266ae74a531@fjl.co.uk> X-Sender: freebsd-doc@fjl.co.uk Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spamd-Result: default: False [-2.51 / 15.00]; NEURAL_HAM_LONG(-1.00)[-0.998]; NEURAL_HAM_SHORT(-0.93)[-0.925]; NEURAL_HAM_MEDIUM(-0.39)[-0.391]; R_SPF_ALLOW(-0.20)[+ip4:84.45.41.208]; MIME_GOOD(-0.10)[text/plain]; ONCE_RECEIVED(0.10)[]; ARC_NA(0.00)[]; ASN(0.00)[asn:25577, ipnet:84.45.0.0/17, country:GB]; RCPT_COUNT_TWO(0.00)[2]; MIME_TRACE(0.00)[0:+]; RCVD_COUNT_ONE(0.00)[1]; MID_RHS_MATCH_FROM(0.00)[]; R_DKIM_NA(0.00)[]; MLMMJ_DEST(0.00)[freebsd-questions@freebsd.org]; TO_DN_NONE(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MISSING_XM_UA(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_TLS_LAST(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; DMARC_NA(0.00)[fjl.co.uk]; FROM_HAS_DN(0.00)[] X-Rspamd-Queue-Id: 4XKGJ94dMCz4k4w X-Spamd-Bar: -- On 2024-10-02 12:33, Dag-Erling Smørgrav wrote: > Frank Leonhardt writes: >> I've just asked someone to plug in a monitor and send me a photo of >> the screen. "It's blank". > > By default FreeBSD blanks the console after 300 seconds of inactivity. > You can disable this by adding `blanktime="NO"` to /etc/rc.conf or > /etc/rc.conf.d/syscons. If you can log into the machine remotely, you > can unblank it by typing `vidcontrol -t off shell > (sudo won't work because you'd still be trying to open /dev/ttyv0 as > yourself before passing it to sudo). Or ask the person who plugged in > the monitor to also plug in a keyboard and press any key, preferably > Shift or Ctrl as that won't actually do anything other than unblank. > If > it doesn't react to Shift or Ctrl then pressing Caps Lock or Num Lock > and checking if the corresponding LED lights up will let you know if at Thanks! Just what I needed. Alas, no keyboard possible here and no remote login possible as the host is crashing after a kernel panic OR SOMETHING. It's hard to tell when the screen is blank.