On Sat, Nov 7, 2020 at 10:22 PM Cameron Simpson <cs(a)cskk.id.au>
wrote:
On 06Nov2020 21:50, Tom Horsley <horsley1953(a)gmail.com> wrote:
>
> For as long as I can remember I've run dnf update in a root
> xterm and when all the akmod activity and wot-not is finished,
> I've run reboot from another terminal.
>
> Now, it won't reboot "because root is logged in".
>
> Gah! Who cares if root is logged in?
>
> Can I disable this helpful feature any way?
Dunno, but maybe you can disable what it measures. Do your xterms
make entries in wtmp (listed by "w" and "who")? Is so, ISTR that
xterm has an option to not do that (look for "wtmp" in the manual
IIRC). See if disabling that helps.
"w" and "who" look at "/var/run/utmp".
"last" looks at "/var/log/wtmp".
You can use "xterm*utmpInhibit: true" in "~/.Xresources" to prevent
xterm from updating utmp. But it's hard to believe that this is what's
messing with the other Tom H's system. Maybe...