View previous topic :: View next topic |
Author |
Message |
igor92128 Apprentice
Joined: 27 Jun 2004 Posts: 156 Location: California
|
Posted: Fri Feb 25, 2005 10:10 pm Post subject: Logging off users |
|
|
I have a problem trying to log off other instances of root. When I type who, heres what I get:
Code: |
root pts/6 Feb 23 15:33 (:0.0)
root pts/7 Feb 23 15:33 (:0.0)
root pts/8 Feb 23 15:33 (:0.0)
root pts/3 Feb 23 20:44 (cpe-<IP>.san.rr.com)
|
Those other 3 root sessions were created when I was trying to configure my display, but I can't log them off. I'm currently logged into pts/3.
How would I close those sessions?
Thanks,
Igor |
|
Back to top |
|
|
aethyr Veteran
Joined: 06 Apr 2003 Posts: 1085 Location: NYC
|
Posted: Fri Feb 25, 2005 10:20 pm Post subject: |
|
|
Are you sure those aren't terminal windows? |
|
Back to top |
|
|
igor92128 Apprentice
Joined: 27 Jun 2004 Posts: 156 Location: California
|
Posted: Fri Feb 25, 2005 10:39 pm Post subject: |
|
|
Yeah, I'm sure. I only have one terminal window open right now. The machine I'm accessing does not have a monitor and I'm using it from an SSH terminal via Windows. I was typing these commands:
Code: |
DISPLAY=127.0.0.1:0.0
export DISPLAY
|
I was also messing around with sux.
If this is impossible I can always restart, but that's a last resort.
BTW, if those are other terminals, is it possible to switch to them?
Thanks,
Igor |
|
Back to top |
|
|
RemcoNL Apprentice
Joined: 30 Nov 2003 Posts: 178 Location: Leiden, The Netherlands
|
Posted: Sat Feb 26, 2005 8:52 am Post subject: |
|
|
Is there any difference when you use "w" instead of "who"?
In my experience *something* messed up with the different logfiles, creating different outputs for those 2...
Removing the logfiles took care of the non-existend logins. _________________ Use Compact Flash cards as a silent IDE hard drive |
|
Back to top |
|
|
igor92128 Apprentice
Joined: 27 Jun 2004 Posts: 156 Location: California
|
Posted: Sat Feb 26, 2005 5:32 pm Post subject: |
|
|
Yeah, here's what the output is when I type w:
Code: |
09:33:40 up 4 days, 15:27, 4 users, load average: 0.12, 0.06, 0.02
USER TTY LOGIN@ IDLE JCPU PCPU WHAT
root pts/6 Wed15 2days 0.00s 0.00s bash
root pts/7 Wed15 2days 0.00s 0.00s bash
root pts/8 Wed15 2days 0.00s 0.00s bash
root pts/4 Fri14 0.00s 0.16s 0.02s w
|
Igor |
|
Back to top |
|
|
|