image
image

Go Back   macosx.com > Mac Help Forums > Unix & X11

Reply
 
Thread Tools
  #1  
Old September 2nd, 2002, 02:33 PM
Registered User
 
Join Date: Mar 2001
Location: Groton, CT, USA
Posts: 1,295
Thanks: 0
Thanked 0 Times in 0 Posts
chemistry_geek is on a distinguished road
I'm logged in the terminal twice!!??

I've tried searching the forums on this subject and I can't find a match anywhere.

In the terminal, when I type who I get this:

Welcome to Darwin!
[localhost:~] alchemist% who
alchemist console Sep 2 14:22
alchemist ttyp1 Sep 2 14:22
[localhost:~] alchemist%


Whenever I typed who in the past, I used to get alchemist ttyp1 Sep 2 14:22 , but for some unknown reason, I'm logged in the console as well. As far as I know, I didn't do anything to cause this. I recently moved to a new city and my computer had been unplugged for about a week.

Any suggestions as to how to correct this?
Reply With Quote
  #2  
Old September 2nd, 2002, 06:48 PM
davidbrit2's Avatar
Licensed Computer Geek
 
Join Date: Sep 2000
Location: Michigan, USA
Posts: 787
Thanks: 0
Thanked 0 Times in 0 Posts
davidbrit2 is on a distinguished road
I wouldn't worry about it. The login on the console should be the GUI login, and ttyp1 is the session at the terminal. A single user having a good half dozen logins at a time wouldn't be out of the question. If you're using the output in a script or something, just use grep to filter out the relevant session.

Incidentally, on my system, only the console login is reported. Weird.
__________________
You can have my iBook when you pry it from my cold, dead fingers.
iBook - The computer of choice for the enlightened CS major. Come on Apple, let me do a commercial. ;-)
"An alloc a day keeps the DRAM away!"
Reply With Quote
  #3  
Old September 11th, 2002, 09:46 AM
bbloke's Avatar
Registered User
 
Join Date: Jun 2002
Location: UK
Posts: 1,442
Thanks: 0
Thanked 16 Times in 14 Posts
bbloke has a spectacular aura aboutbbloke has a spectacular aura about
Out of interest, which version of OS X are you using?

I've noticed strange login-related issues with the Terminal app before, as have others before me. I think my thread is no longer around, but basically I noticed that the open tty connections were not being closed when the user logged out. The user would log in, log out, and see the login (using "who" or "w") had not disappeared. In fact, the user would just accumulate logins over time, it seemed. I tried checking this behavior using XDarwin and found that logouts occurred correctly when using an xterm. So, it was Temrinal.app related.

This happened when using the default login shell (set in the Terminal preferences) rather than a tcsh or other shell. Switching to using tcsh led to not having the tty logins being observed at all, only the console login!

Have you been using login shells, tcsh, or something else? I had hoped this is something Apple might address with 10.2.
Reply With Quote
  #4  
Old September 11th, 2002, 10:03 AM
Registered User
 
Join Date: Mar 2001
Location: Groton, CT, USA
Posts: 1,295
Thanks: 0
Thanked 0 Times in 0 Posts
chemistry_geek is on a distinguished road
I'm using 10.1.5. All I do to enter the Terminal is click on the Terminal.app icon in the dock. This behavior started after I moved and the computer was unplugged for 1 week. Nothing else has changed to my knowledge.
Reply With Quote
Reply

Thread Tools

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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Blindly using terminal to change monitor mirroring iwbyte Mac OS X System & Mac Software 1 June 4th, 2003 04:21 PM
terminal potentials lucasraggers Mac OS X System & Mac Software 10 October 23rd, 2002 02:39 PM
Alarming Terminal app behavior (10.1.5) bbloke Mac OS X System & Mac Software 3 June 12th, 2002 05:12 PM
Terminal Terminal kvist Mac OS X System & Mac Software 0 April 13th, 2002 03:21 PM
'who' doesn't see terminal users scruffy Mac OS X System & Mac Software 4 April 25th, 2001 07:18 PM


All times are GMT -5. The time now is 03:48 AM.


Mac Support® Version 3.7.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0
Copyright 2000-2008 DigitalCrowd, Inc.