Login and timeout

Creating a bug report/issue

Required Information

G_DIETPI_VERSION_CORE=9
G_DIETPI_VERSION_SUB=13
G_DIETPI_VERSION_RC=2
G_GITBRANCH=‘master’
G_GITOWNER=‘MichaIng’
G_LIVE_PATCH_STATUS[0]=‘not applicable’
G_LIVE_PATCH_STATUS[1]=‘applied’
G_LIVE_PATCH_STATUS[2]=‘applied’
G_LIVE_PATCH_STATUS[3]=‘applied’

bookworm 1

Linux Diethole 6.12.25+rpt-rpi-v6 #1 Raspbian 1:6.12.25-1+rpt1 (2025-04-30) armv6l GNU/Linux

armhf

RPi B+ (armv6l)

5V 2A+

SanDisk…

  1. configured the pi with a long password like 49 chars (managed by Keepass)
  2. needed to login localy at the machine
  3. was not able to type the password in the timeout where the login screen returned to the username… (Situation: connected keyboard and screen, 2nd computer showing the password, then typing…)
  4. retryed several times… no luck to to it in time!
  5. (2nd Problem: to force the pi to get a (new) IP as the router was down due a provider problem I connected a switch with dhcp… as it seemed the pi was not getting a new IP I needed to reboot without possibility to login. So I needed to Powercycle)

Expected behaviour

a1.) I am new to diet pi. I was not aware of the timout. a hint at installation would be helpfull!
a2.) when setting a long password warn about the timeout issue, or auto lengthen it
b.) Possibility in config to change the timeout (at least I don’t find such an option)
c.) at login ability to reboot (see 2nd problem)
d.) and/or at login ability to trigger fetiching new IP
e.) at login show IP (currently my router, a Fritzbox 7530 is not updating reliable the list of current IPs in the network :frowning: )

Actual behaviour

login timeout is to short to enter long passwords directly with keyboard

Extra details

I as a User was not aware there is a problem waiting until I needed the local login for emergnecy access as the device was rebooted after an Update an due some other network problem happening at the same time I was not are of the actual IP (if any) and so not able to use ssh.

If just advice resolves my problem, please give advice, if not, than handle it as a bug report. Thx

This has nothing to do with DietPi scripts are functions. Behaviour should be same on RPi OS or other Debian systems. The agetty login process (which handles TTY logins) has a default timeout of 60 seconds of inactivity during login. If you take longer than 60 seconds to type the password (or nothing is typed at all), it times out and resets.

You can override the agetty timeout for the login prompt by creating a persistent boot-time configuration /etc/systemd/system/getty@tty1.service.d/override.conf where you can set an own timeout.