LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Why does who show me logged in twice? (https://www.linuxquestions.org/questions/linux-newbie-8/why-does-who-show-me-logged-in-twice-491130/)

dbruso 10-10-2006 10:55 AM

Why does who show me logged in twice?
 
All:

I'm sure this is a real newbie question, but none of my usual sources seem to be able to answer it for me.

Whenever I check uptime on my system, I always see an extra user logged in, like this:

[dale@brusod ~]$ uptime
08:48:09 up 7 days, 21:43, 2 users, load average: 0.09, 0.05, 0.08

When I run who, I see that it is me-- twice, like this:

[dale@brusod ~]$ who
dale :0 2006-10-10 08:09
dale pts/1 2006-10-10 08:10 (:0.0)

Can anyone explain why I show up as two users when I'm only logged in one time?

Thanks,

Dale

rednuht 10-10-2006 11:05 AM

each time I login to a virtual terminal (ALT+F2 etc) I get a n entry against tty1,tty2 etc
when I create a new gnome terminal window in X I get another entry against pts/1 pts/2 etc.
Who seems to be counting shells not logins.


All times are GMT -5. The time now is 05:31 PM.