Mailing List Archive

Wrong number of users listed
I know this is a described problem, both on the forums and in the bugzilla,
but I can find no SOLUTIONS.
When I log in using kdm, w shows me logged in TWICE, one instance of me
running "kdeinit kded" and one running "-:0". Also, each konsole spawns
another user. This does not happen on another box of mine.
What should I do? It's kind of annoying.
Running kernel 2.6.9-rc2-mm1.

Thanks for any help.

-- Gard

--
gentoo-user@gentoo.org mailing list
Re: Wrong number of users listed [ In reply to ]
Gard Spreemann wrote, On 01.10.2004 18:26:
> I know this is a described problem, both on the forums and in the bugzilla,
> but I can find no SOLUTIONS.
> When I log in using kdm, w shows me logged in TWICE, one instance of me
> running "kdeinit kded" and one running "-:0". Also, each konsole spawns
> another user.

I have the same behavior.

root # w
19:10:34 up 8:08, 7 users, load average: 0,03, 0,13, 0,16
USER TTY LOGIN@ IDLE JCPU PCPU WHAT
Xk2c :0 11:02 ?xdm? 22:20 0.07s -:0
Xk2c pts/1 11:03 8:07m 0.00s 2.58s kdeinit: kded
Xk2c pts/2 11:03 8:07m 0.62s 0.00s /bin/sh
/home/daten/programme/log/Syslog
Xk2c pts/3 11:03 0.00s 0.01s 0.01s /usr/bin/screen -dR
Xk2c pts/4 17:29 1:02m 0.68s 9.25s /usr/bin/SCREEN -dR
Xk2c pts/5 11:03 0.00s 0.76s 9.25s /usr/bin/SCREEN -dR
Xk2c pts/6 17:29 43:49 0.41s 0.41s -bash



> This does not happen on another box of mine.
> What should I do? It's kind of annoying.
> Running kernel 2.6.9-rc2-mm1.
>
> Thanks for any help.
>
> -- Gard


In my opionen this is security feature and not a bug.
I even did a little addon this to see who is how login:

root # whoswho
xk2c 6365 0.0 0.5 5252 1944 pts/5 Ss 11:03 0:00
root 18327 0.0 0.5 4996 1956 pts/5 S 17:27 0:00

\_ -bash
\_ -/bin/bash

This should be on one line and as you can see there one user
login who has "su"ed to root.

alias whoswho='ps axu --forest | grep bash'

I would guess this other box is rather broken.
But if you do not like this output I guess this related to utmp and
wtmp. But I canĀ“ help you to turn it off though maybe someone else will.


bye Thilo


--
gentoo-user@gentoo.org mailing list
Re: Re: Wrong number of users listed [ In reply to ]
On Friday 01 October 2004 19:29, Thilo Six wrote:
> Gard Spreemann wrote, On 01.10.2004 18:26:
> > I know this is a described problem, both on the forums and in the
> > bugzilla, but I can find no SOLUTIONS.
> > When I log in using kdm, w shows me logged in TWICE, one instance of me
> > running "kdeinit kded" and one running "-:0". Also, each konsole spawns
> > another user.
>
> I have the same behavior.
>
> root # w
> 19:10:34 up 8:08, 7 users, load average: 0,03, 0,13, 0,16
> USER TTY LOGIN@ IDLE JCPU PCPU WHAT
> Xk2c :0 11:02 ?xdm? 22:20 0.07s -:0
> Xk2c pts/1 11:03 8:07m 0.00s 2.58s kdeinit: kded
> Xk2c pts/2 11:03 8:07m 0.62s 0.00s /bin/sh
> /home/daten/programme/log/Syslog
> Xk2c pts/3 11:03 0.00s 0.01s 0.01s /usr/bin/screen -dR
> Xk2c pts/4 17:29 1:02m 0.68s 9.25s /usr/bin/SCREEN -dR
> Xk2c pts/5 11:03 0.00s 0.76s 9.25s /usr/bin/SCREEN -dR
> Xk2c pts/6 17:29 43:49 0.41s 0.41s -bash
>
> > This does not happen on another box of mine.
> > What should I do? It's kind of annoying.
> > Running kernel 2.6.9-rc2-mm1.
> >
> > Thanks for any help.
> >
> > -- Gard
>
> In my opionen this is security feature and not a bug.
> I even did a little addon this to see who is how login:
>
> root # whoswho
> xk2c 6365 0.0 0.5 5252 1944 pts/5 Ss 11:03 0:00
> root 18327 0.0 0.5 4996 1956 pts/5 S 17:27 0:00
>
> \_ -bash
> \_ -/bin/bash
>
> This should be on one line and as you can see there one user
> login who has "su"ed to root.
>
> alias whoswho='ps axu --forest | grep bash'
>
> I would guess this other box is rather broken.
> But if you do not like this output I guess this related to utmp and
> wtmp. But I canĀ“ help you to turn it off though maybe someone else will.
>
>
> bye Thilo
>
>
> --
> gentoo-user@gentoo.org mailing list

This is really strange. The phenomenon is described in multiple places,
discussed, but there is NEVER a definitive answer. Thanks for speculating
though ;-)

CALL TO DEVS: WHAT IS THIS? The FAQ on the forum links to a thread that
discusses this, but it all ends in NOWHERE, no answer to what's really
happening, and certainly no workaround (if it is a bug, and not a feature).

--
gentoo-user@gentoo.org mailing list