Console opening Terminal at login?

Discussion in 'OS X El Capitan (10.11)' started by owbp, Sep 10, 2016.

  1. owbp macrumors 6502a

    owbp

    Joined:
    Jan 28, 2016
    Location:
    Belgrade, Serbia
    #1
    Only thing i did/change recently is installing Mediatek Wireless Utility since i have to use USB WiFi Dongle for the next few days.

    In Terminal i can see
    Code:
    Last login: Sat Sep 10 12:06:44 on console
    And if i open Console and search for the exact time i have these messages
    Code:
    9/10/16 12:06:44.555 PM SecurityAgent[298]: Login Window login proceeding
    9/10/16 12:06:44.752 PM loginwindow[97]: Login Window - Returned from Security Agent
    9/10/16 12:06:44.783 PM loginwindow[97]: USER_PROCESS: 97 console
    9/10/16 12:06:44.814 PM com.apple.xpc.launchd[1]: (com.apple.FileSyncAgent.PHD.isRunning) The HideUntilCheckIn property is an architectural performance issue. Please transition away from it.
    9/10/16 12:06:44.837 PM com.apple.xpc.launchd[1]: (com.apple.speech.speechsynthesisd) This key does not do anything: OnDemand
    9/10/16 12:06:44.842 PM com.apple.xpc.launchd[1]: (com.apple.trustd.agent) This key does not do anything: OnDemand
    9/10/16 12:06:44.842 PM com.apple.xpc.launchd[1]: (com.apple.trustd.agent) The ServiceIPC key is no longer respected. Please remove it.
    9/10/16 12:06:44.842 PM com.apple.xpc.launchd[1]: (com.apple.TrustEvaluationAgent) This key does not do anything: OnDemand
    9/10/16 12:06:44.990 PM symptomsd[348]: __73-[NetworkAnalyticsEngine observeValueForKeyPath:ofObject:change:context:]_block_invoke unexpected switch value 2
    9/10/16 12:06:44.990 PM symptomsd[348]: __73-[NetworkAnalyticsEngine observeValueForKeyPath:ofObject:change:context:]_block_invoke unexpected switch value 2
    
    Any idea where to start looking or what the cause is?
     
  2. Floris macrumors 68020

    Floris

    Joined:
    Sep 7, 2007
    Location:
    Netherlands
    #2
    Here is some info to get you started on figuring out what's running on your system, what runs at boot, and where to go to make changes. Hopefully it helps.
    http://www.macworld.com/article/2047747/take-control-of-startup-and-login-items.html

    There's also a site where you can upload a list of all the procs, and it can visually show you green/red (red being bad stuff). Worth a review if you don't trust what's going on in your system.
     
  3. owbp thread starter macrumors 6502a

    owbp

    Joined:
    Jan 28, 2016
    Location:
    Belgrade, Serbia
    #3
    Thanks, i will give it a good read and report back.
     
  4. Floris macrumors 68020

    Floris

    Joined:
    Sep 7, 2007
    Location:
    Netherlands
    #4
    Something tells me this is related to iWorks, which version of macOS do you run?
     
  5. owbp thread starter macrumors 6502a

    owbp

    Joined:
    Jan 28, 2016
    Location:
    Belgrade, Serbia
    #5
    I'm on 10.11.6 and only have Pages installed (latest AppStore update).

    I have this in Login Items
    Screen Shot 2016-09-10 at 2.06.17 PM.png

    And also apps that autostart are: AVID Application Manager, iStat Menus and Little Snitch.
    But Terminal didn't start with system until few days ago and it is always the same message "Last login....on console".
     
  6. Floris macrumors 68020

    Floris

    Joined:
    Sep 7, 2007
    Location:
    Netherlands
    #6
    You mean like that? Yes, that's normal.

    console if it's tabless window
    tty[0-9] when it's a tabbed window
     

    Attached Files:

  7. owbp thread starter macrumors 6502a

    owbp

    Joined:
    Jan 28, 2016
    Location:
    Belgrade, Serbia
    #7
    Like this, ok then it's tables window. If i open it myself then its ttys000.
    Screen Shot 2016-09-10 at 2.15.46 PM.png
    Btw, it starts only if i have "Reopen windows when logging back in" marked, but the thing that bothers me is that it isn't opened (Terminal) when I'm logging out of macOS.
    Maybe I'm just overreacting, but i wanted to check the causes of this behavior here.
     
  8. Floris macrumors 68020

    Floris

    Joined:
    Sep 7, 2007
    Location:
    Netherlands
    #8
    Yeah, it's the first terminal that's open, so it's well, id 0, no tabs, no other sessions, no other unix stuff logged in. As soon as you open something it's another new virtual console, and it becomes tty000 then tty001, etc. This is because it comes from the old UNIX kernel.

    Well, if you have it marked to re-open windows and that's why terminal pops up, then that's the actual reason. The system opens it for you, nobody touched it, so it's console. ;)

    I dont think you have to worry about any malicious stuff etc.
     
  9. owbp thread starter macrumors 6502a

    owbp

    Joined:
    Jan 28, 2016
    Location:
    Belgrade, Serbia
    #9
    :D
    The only thing is that it wasn't open - so no point in OS X reopen it for me, but i will assign that to gremlins and read some more on this topic.
    For now, let it be resolved. Thanks Floris!
     
  10. Floris macrumors 68020

    Floris

    Joined:
    Sep 7, 2007
    Location:
    Netherlands
    #10
    Oh, I see, I must have misunderstood that part. Okay, not reaaaally resolved then. I will google a bit later and see if I happen to run into something similar.
     

Share This Page