On Sun, Mar 10, 2019 at 12:12:32PM +0000, Mark Hindley wrote:
> > $ w
> > 01:55:37 up 4 min, 1 user, load average: 0.21, 0.19, 0.09
> > USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT
> > user :0.0 :0.0 01:51 ?xdm? 47.32s 0.24s
> > x-session-manager
Didier,
Having looked at this some more, whilst I agree that the w output of ?xdm? is
ugly, I think it is correct. You can only get the correct idle time for X with
xprintidle. The value derived from utmp can never be correct.
Mark