When exiting konsole in MDK 9.0 users are not removed
MandrivaThis Forum is for the discussion of Mandriva (Mandrake) Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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?
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.
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.
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
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.
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]$
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.