Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved] brand new install... wtmp(?) issues
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
bunder
Bodhisattva
Bodhisattva


Joined: 10 Apr 2004
Posts: 5934

PostPosted: Sat Sep 18, 2004 1:47 pm    Post subject: [solved] brand new install... wtmp(?) issues Reply with quote

Hi there,

Just installed 2004.2 on my new PC, and I'm having some issues with the amount of users logged in.

Code:
chris@bender chris $ uname -a && w
Linux bender 2.6.8-gentoo-r3 #1 SMP Fri Sep 17 20:16:17 EDT 2004 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz GenuineIntel GNU/Linux
 09:37:23 up  1:12,  2 users,  load average: 0.09, 0.16, 0.13
USER     TTY        LOGIN@   IDLE   JCPU   PCPU WHAT
chris    pts/0     09:34    3:16   0.00s  0.37s kdeinit: kded   <--- pts0?  shouldn't this read :0?
chris    pts/1     09:34    0.00s  0.01s  0.00s w
chris@bender chris $


On my other PC, I would see one user logged in for running X, and any users from a konsole window would not show up. ((Which is the norm, right??))

I don't know if this is a utmp issue, or a pam issue, etc. Suggestions are greatly appreciated. :D

Here's some more version numbers if you need them:
Code:

root@bender chris # emerge -vp xorg-x11 kde pam shadow

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild   R   ] x11-base/xorg-x11-6.7.0-r1  -3dfx -3dnow -cjk -debug -debug -dlloader -doc -ipv6 -mmx +nls +pam -sdk -sse -static  7,622 kB
[ebuild   R   ] kde-base/kde-3.3.0   [empty/missing/bad digest]
[ebuild   R   ] sys-libs/pam-0.77  +berkdb -pwdb -(selinux)  3,551 kB
[ebuild   R   ] sys-apps/shadow-4.0.4.1-r3  +nls +pam -(selinux) -(uclibc)  795 kB


I can't wait to play some fps'es on this bad boy :lol:

--beugh
_________________
Neddyseagoon wrote:
The problem with leaving is that you can only do it once and it reduces your influence.

banned from #gentoo since sept 2017


Last edited by bunder on Fri Sep 24, 2004 4:33 am; edited 3 times in total
Back to top
View user's profile Send private message
bunder
Bodhisattva
Bodhisattva


Joined: 10 Apr 2004
Posts: 5934

PostPosted: Sun Sep 19, 2004 11:33 pm    Post subject: Reply with quote

bump?
_________________
Neddyseagoon wrote:
The problem with leaving is that you can only do it once and it reduces your influence.

banned from #gentoo since sept 2017
Back to top
View user's profile Send private message
inode77
Veteran
Veteran


Joined: 20 Jan 2004
Posts: 1303
Location: Heart of Europe

PostPosted: Mon Sep 20, 2004 12:52 am    Post subject: Reply with quote

I don't see your prob. Here is my w output. I working with gnome and a multiplexed shell with 3 subshells. X=1 Multiplex Shell=1 subshells=3 => 1+1+3 => 5 Everything fine.
Code:
root@stingray:linux # w
 02:49:17 up  1:50,  5 users,  load average: 0.06, 0.07, 0.09
USER     TTY        LOGIN@   IDLE   JCPU   PCPU WHAT
user  :0        00:59   ?xdm?  10:17   0.27s gnome-session
user  pts/0     00:59    1.00s  0.00s  0.00s /usr/bin/screen
user  pts/1     00:59    1.00s  0.02s  0.86s /usr/bin/SCREEN
user  pts/2     00:59    1:17m  0.00s  0.00s -/bin/bash
user  pts/3     00:59    1:49m  4.89s  4.83s mplayer -cache 256 -playlist sound/playlists/shoutcast/club977.pls
Back to top
View user's profile Send private message
bunder
Bodhisattva
Bodhisattva


Joined: 10 Apr 2004
Posts: 5934

PostPosted: Mon Sep 20, 2004 10:43 am    Post subject: Reply with quote

Its always reported it to me as one user. It would only show up as more if I logged in from a TTY not a konsole window... :?

--beugh
_________________
Neddyseagoon wrote:
The problem with leaving is that you can only do it once and it reduces your influence.

banned from #gentoo since sept 2017
Back to top
View user's profile Send private message
bunder
Bodhisattva
Bodhisattva


Joined: 10 Apr 2004
Posts: 5934

PostPosted: Mon Sep 20, 2004 2:04 pm    Post subject: Reply with quote

Here, I have another sample...

Code:
chris@bender chris $ w
 09:51:08 up 4 min,  3 users,  load average: 0.28, 0.17, 0.06
USER     TTY        LOGIN@   IDLE   JCPU   PCPU WHAT
chris    :0        09:50   ?xdm?  11.16s  0.02s -:0  <<--rc.conf s/xdm/kdm (my mistake)
chris    pts/0     09:50   44.00s  0.00s  0.19s kdeinit: kded
chris    pts/1     09:51    0.00s  0.00s  0.00s w


I only have kde running and one konsole window... what is kdeinit:kded?
On all my other systems (including other gentoo boxen) do not show this behaviour... Here's my slackware laptop:

Code:
chris@laptop chris $ w
 09:53:01 up 2 min,  1 user,  load average: 1.99, 0.68, 0.24
USER     TTY     FROM        LOGIN@   IDLE   JCPU   PCPU WHAT
chris    :0      -           09:50   ?xdm? 27.86s  0.02s  -:0


I don't get it. Which machine is broken, or whats going on here? :cry:

--beugh

Edit: logging into X appears as 2 users, and not one. :?
_________________
Neddyseagoon wrote:
The problem with leaving is that you can only do it once and it reduces your influence.

banned from #gentoo since sept 2017
Back to top
View user's profile Send private message
bunder
Bodhisattva
Bodhisattva


Joined: 10 Apr 2004
Posts: 5934

PostPosted: Fri Sep 24, 2004 4:33 am    Post subject: Reply with quote

I ended up reinstalling and it seems to be fine now.
_________________
Neddyseagoon wrote:
The problem with leaving is that you can only do it once and it reduces your influence.

banned from #gentoo since sept 2017
Back to top
View user's profile Send private message
dob
Apprentice
Apprentice


Joined: 04 Oct 2002
Posts: 199
Location: S.L.P.

PostPosted: Wed Dec 01, 2004 9:31 pm    Post subject: Reply with quote

FYI it has to do with utempter:
Quote:
* sys-apps/utempter
Latest version available: 0.5.5.5
Latest version installed: 0.5.5.5
Size of downloaded files: 20 kB
Homepage: http://www.redhat.com/
Description: App that allows non-privileged apps to write utmp (login) info, which needs root access
License: || ( MIT LGPL-2 )
Merge it or unmerge it whether you want that behaviour or not 8)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum