On Wed, 18 Apr 2012, Alex Bachmeier wrote:
> In the two cases where the user shows up, both users have a gnome-
> terminal open.
That doesn't count. We're interested in lines that correspond
to the main login. They have a local TTY like this (here paste
from my debian unstable box but it should be similar for ubuntu):
USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT
rhertzog tty7 :0 10Apr12 7days 1:41m 4.76s gnome-session
Notice that we have "tty7" in the TTY field and not "pts/<number>".
On Wed, 18 Apr 2012, Alex Bachmeier wrote:
> In the two cases where the user shows up, both users have a gnome-
> terminal open.
That doesn't count. We're interested in lines that correspond
to the main login. They have a local TTY like this (here paste
from my debian unstable box but it should be similar for ubuntu):
USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT
rhertzog tty7 :0 10Apr12 7days 1:41m 4.76s gnome-session
Notice that we have "tty7" in the TTY field and not "pts/<number>".
Cheers,
--
Raphaël Hertzog ◈ Debian Developer
Pre-order a copy of the Debian Administrator's Handbook and help debian- handbook. info/liberation /
liberate it: http://