Well, it seems that who computes the idle time by using the timestamps of the tty device file, which are updated every time a process reads input. The problem is that X ( and also emacs ) don't read from the tty, so the timestamps are not updated.
I think that fixing this is going to require overhauling the virtual console code to move the VC ttys under the /dev/pts filesystem so that /dev/tty can actually open the proper inode, and so that there can be a master inode to update when events come in rather than when they are read. Oh boy. ** Package changed: coreutils (Ubuntu) => linux (Ubuntu) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/268780 Title: who (or w) does not report correctly idle time To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/268780/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
