I did some research. The cause is in the package kdelib5. The library
libkpty.so
does not write records into utmp if libutempter-dev was not installed at compile
time (see kpty.cpp):
#ifdef HAVE_UTEMPTER
Q_D(KPty);
addToUtmp(d->ttyName, remotehost, d->masterFd);
Q_UNUSED(user);
#else
Rebuilding kdelibs5_4.4.2-0ubuntu4 with installed libutempter-dev fixes
the issue. Konsle sessions will appear in who output, as it should be.
I propose to add libutempter-dev to build dependencies of kde4libs
package.
--
Konsole shells not registering users in utmp
https://bugs.launchpad.net/bugs/632527
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs