LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 01-18-2003, 07:36 PM   #1
justinv
LQ Newbie
 
Registered: Jan 2003
Location: New Zealand
Distribution: Mandrake, SuSE
Posts: 13

Rep: Reputation: 0
Question Multiple instances of same user


Hi everybody! I have the problem that my linux mandrake 9 pc has multiple instances of one user logged in. I'm not sure what I'm doing wrong to make this happen, but it'shindering the use of some programmes and making me unable to logon as the user who is logged in twice already. I have it set to automatically logon to justin, but when I type the "who" command it shows justin twice. Sometimes thrice. Is there a command to logout all users with su privileges?? And why am I logged in twice, did I not logout automatically last time I shut down?

Thanks,

justinv.
 
Old 01-18-2003, 07:49 PM   #2
oot
Member
 
Registered: Dec 2002
Distribution: Slackware 12.0
Posts: 240

Rep: Reputation: 30
If you're running an xterm (or other terminal) under X, each one shows up as a seperate login for you. It'll show you as being logged in on "pts/x" where x is a number. If this is where your multiple logins are coming from it's normal and nothing to worry about.
 
Old 01-18-2003, 07:55 PM   #3
justinv
LQ Newbie
 
Registered: Jan 2003
Location: New Zealand
Distribution: Mandrake, SuSE
Posts: 13

Original Poster
Rep: Reputation: 0
who

justin pts/0 Jan 19 12:57
justin pts/1 Jan 19 13:53
justin pts/2 Jan 19 13:01

who am i

justin pts/1 Jan 19 13:53

this is normal? and can't be attributed to the failure of some programmes to run, when before they were fine?
 
Old 01-18-2003, 08:07 PM   #4
oot
Member
 
Registered: Dec 2002
Distribution: Slackware 12.0
Posts: 240

Rep: Reputation: 30
Also, to log out all users except root, try "/sbin/shutdown -k +0". Another way to log out a user is to do a ps to find out what processes belong to them, and then kill all of their processes, including the login shell.
 
Old 01-18-2003, 09:28 PM   #5
oot
Member
 
Registered: Dec 2002
Distribution: Slackware 12.0
Posts: 240

Rep: Reputation: 30
Assuming you are running terminal sessions under X, this is normal. The programs are probably failing for some other reason. Can you supply more details on the programs that don't run?
 
Old 01-19-2003, 05:59 AM   #6
justinv
LQ Newbie
 
Registered: Jan 2003
Location: New Zealand
Distribution: Mandrake, SuSE
Posts: 13

Original Poster
Rep: Reputation: 0
Thanks for your interest. I'm running ogle, xmms and tuxracer. None of these work. Tuxracer doesn't come up - the sand timer spins for a while at the bottom of the screen before disappearing. Xmms does the same. Ogle just won't play anything.
 
Old 01-19-2003, 01:41 PM   #7
oot
Member
 
Registered: Dec 2002
Distribution: Slackware 12.0
Posts: 240

Rep: Reputation: 30
The next step in troubleshooting this is to get the messages the programs give when they try to start up. This is done by running them from a terminal, just type the name in to run them and several messages will be printed in the terminal. Post the messages here if you need help figuring out what to do about whatever problem(s) they reveal.
 
Old 01-19-2003, 05:05 PM   #8
justinv
LQ Newbie
 
Registered: Jan 2003
Location: New Zealand
Distribution: Mandrake, SuSE
Posts: 13

Original Poster
Rep: Reputation: 0
thanks oot, but I think I'm right now. I did cheat however, and reinstalled the whole system. I think maybe it had something to do with the sound server (?) because xmms came up with some message about that. Thanks for all your help though.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Multiple instances of artsd Mojojo Linux - Software 0 10-13-2005 12:41 PM
SAMBA: Multiple Instances? Matir Linux - Software 0 02-18-2005 11:43 AM
Multiple Instances of MPlayer? Levitate Linux - Software 2 01-13-2005 01:04 PM
Multiple instances of PHP cubax Linux - Newbie 6 12-30-2004 09:04 PM
multiple instances of processes? ararag Linux - Software 2 07-31-2004 11:27 AM


All times are GMT -5. The time now is 04:54 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration