On Wed, Oct 23, 2024 at 11:59:24AM +0200, Celelibi wrote: > Screen relies on libutempter to update the utmp database. I don't know > if Screen should be updated to use libwtmpdb instead of libutempter or > if libutempter should be updated to wrap libwtmpdb.
Probably neither. utmp is for "currently logged in" things; this info is held in memory in logind. wtmpdb is not for this type of info, and where necessary its plugged into PAM. For utmp updating, if need be, screen (directly or indirectly) needs to talk to logind. Chris