LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 03-22-2004, 05:28 PM   #1
Toadman
Member
 
Registered: Aug 2002
Location: Copperas Cove, Texas
Distribution: Ubuntu 20.04 LTS
Posts: 304

Rep: Reputation: 21
When exiting konsole in MDK 9.0 users are not removed


Whenever I open a konsole session either from the task bar or from the konqueror file manager tools menu another 'user' is added. Below is the output of 'users' and 'who'. After typeing "exit" the "user" is not removed.

[chris@chris chris]$ users
chris chris chris chris chris chris chris chris chris chris
[chris@chris chris]$

[chris@chris chris]$ who
chris pts/0 Mar 21 15:34
chris pts/1 Mar 21 20:15
chris pts/2 Mar 20 21:05
chris pts/3 Mar 21 17:36
chris pts/7 Mar 21 17:18
chris pts/8 Mar 21 13:23
chris pts/6 Mar 21 13:25
chris pts/5 Mar 21 14:03
chris :0 Mar 21 15:34
chris pts/4 Mar 21 15:37
[chris@chris chris]$

This was from last night, I had to reboot as a game messed up my resolution. When I opened a konsole to run sa-learn from the cli, after typeing "exit" the additional user did not go away. Any help would be appreciated as this gets annoying. I'm not sure if its hurting anything but I'd rather not find out the hard way.

Chris
 
Old 03-22-2004, 08:08 PM   #2
ryeman
Member
 
Registered: Jan 2004
Location: Gainesville, GA
Distribution: Ubuntu
Posts: 118

Rep: Reputation: 15
It sounds like you are logged in to each terminal. When you switch to a terminal (ctrl+Alt+F1), do you get a login prompt, or a $..?
 
Old 03-22-2004, 08:16 PM   #3
Toadman
Member
 
Registered: Aug 2002
Location: Copperas Cove, Texas
Distribution: Ubuntu 20.04 LTS
Posts: 304

Original Poster
Rep: Reputation: 21
I get a "chris login"
 
Old 03-22-2004, 08:26 PM   #4
ryeman
Member
 
Registered: Jan 2004
Location: Gainesville, GA
Distribution: Ubuntu
Posts: 118

Rep: Reputation: 15
Quote:
Originally posted by Toadman
I get a "chris login"
Can you try to logout, instead of exit?
 
Old 03-22-2004, 08:36 PM   #5
Toadman
Member
 
Registered: Aug 2002
Location: Copperas Cove, Texas
Distribution: Ubuntu 20.04 LTS
Posts: 304

Original Poster
Rep: Reputation: 21
When exiting konsole in MDK 9.0 users are not removed

Quote:
Originally posted by ryeman
Can you try to logout, instead of exit?
[chris@chris chris]$ logout
bash: logout: not login shell: use `exit'
[chris@chris chris]$

It didn't seem to like that very well.
 
Old 03-22-2004, 08:55 PM   #6
Toadman
Member
 
Registered: Aug 2002
Location: Copperas Cove, Texas
Distribution: Ubuntu 20.04 LTS
Posts: 304

Original Poster
Rep: Reputation: 21
I just looked at my /var/log/user.log and see the following:

Mar 22 17:14:04 chris gconfd (chris-27016): starting (version 1.2.1), pid 27016 user 'chris'
Mar 22 17:14:04 chris gconfd (chris-27016): Resolved address "xml:readonly:/etc/gconf/gconf.xml.mandatory" to a read-only config source at position 0
Mar 22 17:14:04 chris gconfd (chris-27016): Resolved address "xml:readwrite:/home/chris/.gconf" to a writable config source at position 1
Mar 22 17:14:04 chris gconfd (chris-27016): Resolved address "xml:readonly:/etc/gconf/gconf.xml.defaults" to a read-only config source at position 2
Mar 22 17:16:04 chris gconfd (chris-27016): GConf server is not in use, shutting down.
Mar 22 17:16:04 chris gconfd (chris-27016): Exiting
Mar 22 20:06:06 chris gconfd (chris-29938): starting (version 1.2.1), pid 29938 user 'chris'
Mar 22 20:06:06 chris gconfd (chris-29938): Resolved address "xml:readonly:/etc/gconf/gconf.xml.mandatory" to a read-only config source at position 0
Mar 22 20:06:06 chris gconfd (chris-29938): Resolved address "xml:readwrite:/home/chris/.gconf" to a writable config source at position 1
Mar 22 20:06:06 chris gconfd (chris-29938): Resolved address "xml:readonly:/etc/gconf/gconf.xml.defaults" to a read-only config source at position 2
Mar 22 20:08:06 chris gconfd (chris-29938): GConf server is not in use, shutting down.
Mar 22 20:08:06 chris gconfd (chris-29938): Exiting
Mar 22 20:11:33 chris gpm[30132]: info: [gpn.c(363)]:
Mar 22 20:11:33 chris gpm[30132]: Started gpm successfully. Entered daemon mode.
Mar 22 20:14:30 chris gpm[30245]: info: [gpn.c(363)]:
Mar 22 20:14:30 chris gpm[30245]: Started gpm successfully. Entered daemon mode.
Mar 22 20:26:59 chris userhelper: pam_timestamp: timestamp file `/var/run/sudo/chris/unknown:root' is too old, disallowing access to simple_root_authen for UID 501
Mar 22 20:27:04 chris userhelper: pam_timestamp: updated timestamp file `/var/run/sudo/chris/unknown:root'

The last entry was when I just ran sa-learn. Does this help at all?
 
Old 03-22-2004, 09:07 PM   #7
ryeman
Member
 
Registered: Jan 2004
Location: Gainesville, GA
Distribution: Ubuntu
Posts: 118

Rep: Reputation: 15
Re: When exiting konsole in MDK 9.0 users are not removed

Quote:
Originally posted by Toadman
[chris@chris chris]$ logout
bash: logout: not login shell: use `exit'
[chris@chris chris]$

It didn't seem to like that very well.
Try exit, then logout
 
Old 03-22-2004, 09:13 PM   #8
ryeman
Member
 
Registered: Jan 2004
Location: Gainesville, GA
Distribution: Ubuntu
Posts: 118

Rep: Reputation: 15
It sounds like you may be having problems with spamassign...

try

sa-learn --spam /path/to/spam/folder
 
Old 03-22-2004, 09:20 PM   #9
Toadman
Member
 
Registered: Aug 2002
Location: Copperas Cove, Texas
Distribution: Ubuntu 20.04 LTS
Posts: 304

Original Poster
Rep: Reputation: 21
Re: Re: When exiting konsole in MDK 9.0 users are not removed

Quote:
Originally posted by ryeman
Try exit, then logout
exit will of course close the konsole, exit logout printed something but it closed too fast to read. Tried again and nothing was printed, it didn't add any users these two times but then sometimes it doesn't, and sometimes it does every time I open a konsole session. I'm wondering about this 0byte file in /var/run/sudo/chris named unknown:root. The time stamp is modified 3/22/04 8:27pm which is the last entry in my user.log, it was last accessed on 06/21/03 and I sure can't remember that far back, but I think thats the day I setup a seperate drive as my /var partition.

Chris
 
Old 03-22-2004, 09:24 PM   #10
Toadman
Member
 
Registered: Aug 2002
Location: Copperas Cove, Texas
Distribution: Ubuntu 20.04 LTS
Posts: 304

Original Poster
Rep: Reputation: 21
Quote:
Originally posted by ryeman
It sounds like you may be having problems with spamassign...

try

sa-learn --spam /path/to/spam/folder
Don't think thats the problem, I had to open a konsole so I could run my two sa-learn alias files. I should probably just go into webmin and setup a cron job but it seems easier to just open a konsole and type spam or ham. No, this has been going on for a long time I've submitted several questions about this in the MDK newbie list last year.

Chris
 
Old 03-22-2004, 09:33 PM   #11
ryeman
Member
 
Registered: Jan 2004
Location: Gainesville, GA
Distribution: Ubuntu
Posts: 118

Rep: Reputation: 15
Re: Re: Re: When exiting konsole in MDK 9.0 users are not removed

Quote:
Originally posted by Toadman
exit will of course close the konsole, exit logout printed something but it closed too fast to read. Tried again and nothing was printed, it didn't add any users these two times but then sometimes it doesn't, and sometimes it does every time I open a konsole session. I'm wondering about this 0byte file in /var/run/sudo/chris named unknown:root. The time stamp is modified 3/22/04 8:27pm which is the last entry in my user.log, it was last accessed on 06/21/03 and I sure can't remember that far back, but I think thats the day I setup a seperate drive as my /var partition.

Chris
I appoligize, but I was referring to doing exit-logout in a teminal (Ctrl+Alt+F?) screen
 
Old 03-22-2004, 09:37 PM   #12
Toadman
Member
 
Registered: Aug 2002
Location: Copperas Cove, Texas
Distribution: Ubuntu 20.04 LTS
Posts: 304

Original Poster
Rep: Reputation: 21
Re: Re: Re: Re: When exiting konsole in MDK 9.0 users are not removed

Quote:
Originally posted by ryeman
I appoligize, but I was referring to doing exit-logout in a teminal (Ctrl+Alt+F?) screen
Ahh, you mean ctrl+alt+f1 to a terminal, then ctrl+alt+f7 to close it? Thing is when I open a terminal with ctrl+alt+f1 a user isn't added, only when I open a konsole window.
 
Old 03-22-2004, 09:48 PM   #13
ryeman
Member
 
Registered: Jan 2004
Location: Gainesville, GA
Distribution: Ubuntu
Posts: 118

Rep: Reputation: 15
That sounds about right.. I'm guessing that when you do a ctrl+alt+f1, that you get a login screen and not that you are already logged in?

If it only happens on Konsole.... then I'm stumped

What do you have running for X

Can you view your login manager? What kind of settings do you have?
 
Old 03-22-2004, 09:58 PM   #14
snacky
Member
 
Registered: Feb 2004
Distribution: Debian
Posts: 286

Rep: Reputation: 30
First of all, this topic has gotten wildly, insanely off track...

Secondly, there will always be ONE more of your user logged in than you have terminals open, IF YOU ARE IN X. That's what this is:
Code:
chris :0 Mar 21 15:34
Means user "chris" is logged into X display :0 since Mar. 21 15:34.

Perfectly normal, perfectly healthy. Problem solved?
 
Old 03-22-2004, 10:06 PM   #15
Toadman
Member
 
Registered: Aug 2002
Location: Copperas Cove, Texas
Distribution: Ubuntu 20.04 LTS
Posts: 304

Original Poster
Rep: Reputation: 21
Quote:
Originally posted by snacky
First of all, this topic has gotten wildly, insanely off track...

Secondly, there will always be ONE more of your user logged in than you have terminals open, IF YOU ARE IN X. That's what this is:
Code:
chris :0 Mar 21 15:34
Means user "chris" is logged into X display :0 since Mar. 21 15:34.

Perfectly normal, perfectly healthy. Problem solved?
Nope, not clear at all to me actually. When first booting only 1 "chris" user is shown, open a konsole, another is added etc.. So, if I'm only logged in once why are there still "chris" users from yesterday? Why is this off-track, far as I can see I'm still trying to find a solution to why there is more than one "chris" or two by what you say.



[chris@chris chris]$ users
chris chris chris chris chris
[chris@chris chris]$ who
chris pts/0 Mar 21 21:06
chris pts/1 Mar 21 21:07
chris pts/3 Mar 22 19:18
chris pts/2 Mar 22 20:33
chris pts/5 Mar 22 22:00
[chris@chris chris]$
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Terminal Konsole not working for users in KDE 3.2 wallior Linux - Newbie 3 03-12-2004 09:12 PM
Any Mdk 9.1 users here using the 2.6 kernel? Kramer Mandriva 3 03-08-2004 03:50 PM
MDK 9.2 IceWM fails to start for users, works for root rabidundead Mandriva 1 02-02-2004 05:13 AM
removed users/groups sopiaz57 Linux - Security 5 10-16-2003 08:02 AM
mdk 9.1 users emetib Linux - Software 5 06-30-2003 04:46 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 06:02 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration