Logging-Out Causes Background User to Logout

Since upgrading to Yosemite, about 50% of the time when a current user logs-out a background user is also logged-out. The logout happens without any warning or request for an administrator password.
How would I begin troubleshooting this?

I have the same issue.  I have a number of accounts logged in at once on my iMac.  Every so often, when I go to switch to another one of the logged in accounts, it's almost as if the GUI crashes and the login screen shows that none of them are logged in any more.
However, some of my accounts are running servers and the ports remain in use.  Activity monitor shows some of the processes are still running, too.
I have to reboot when this happens to clear everything out.  I never saw this under Mountain Lion or Mavericks.
I have 24GB RAM, so memory is not an issue.
Regards, Patrick

Similar Messages

  • Log out a specific user after inactivity, not all users

    I'd like to log out a specific user after a few minutes of inactivity.  Not all users.  Is there a ways to set this on a per user basis?
    I know how to do it system wide.

    Should be possible with this:
    Workgroup Manager 10.8

  • I have just bought iMac. Can anyone tell me how to log out of guest user so I can sign in as administrator

    Can anyone tell me how to log out of Guest User so I can log in as administrator. Just bought new imac.

    Nome Malaga wrote:
    I can't seem to find a comprehensive manual which tells me what it all does. I found my ipad manual really good for everything.
    http://support.apple.com/manuals/#imac

  • Log Out causes display distortion

    Hi folks
    I currently have two user accounts on my MacBook Pro because of a recent attempt to use Migration Assistant.  While trying to sort out the mess this has left me with, I have been switching between the 2 accounts.
    I have noticed that when I log out the displayed in shortened in the vertical direction, leaving me with black bars about 1cm wide on top and below.  In addition, the clarity of the display is blurred slightly.  Switching back to the other account does not fix the issue, though if I restart and login from there everything is normal.
    Something about logging out is causing the issue. Any ideas?
    Thanks

    Well my problem did NOT go away either. At the Apple Store, I had 3 geniuses help and no one could figure it out. AppleCare top support people as well. No one knew. Hardware checked out. Software seemed fine. Solution? They gave me a new machine. Not what I was hoping for as I wish they found the answer. However, the unit is said to go to Apple diagnostics and they will trouble shoot it. Hopefully, someday we will get an answer. Until then, I wish everybody well and hope this doesn't happen to everybody's MBP 15 i7.
    One question - how did all of you bring in your user (home) files, if you did. I had dragged over my home folder so there was POSSIBLY an issue in there that the new i7 doesn't like?
    If one of you above, did NOT bring in a home folder, that would get rid of one culprit.

  • How do you log out a specific user

    We have a system page in our application that displays all the users currently logged into the system. This page can be accessed by developers and administrators. On this page we want the ability to be able to force a particular user to be logged out.
    So, if I am logged in as administrator JoeSchmo and I want to purge JaneDoe from the system, is there a way to do this? The logout and invalidate methods are for the current request object which would be for the current user and not a different user logged into the system so I am not even sure if what I am asking is possible. Thanks for the help.

    Hi,
    The specific solution would take into consideration the specifics of the web application, but from the web application container point of view the proper thing would be to invalidate the users session. To do this, you will have to keep track of all the sessions (this is the HttpSession object) for all users that are currently logged in, and invalidate it to force the re-login of the user.
    Regards,
    lg

  • How can I log out and change user in Adobe Creative Cloud?

    seems to me it's impossible

    Hi there,
         Once you launch Creative Cloud Desktop Application, select the Gear icon which is located on the top right side of the CC Window and choose 'Preferences'. Under 'Preferences' click on 'Account' tab where you will see 'Sign out' button. Once you click on this button, it Signs out from all the Creative Cloud applications.
    The other simple solution is: Once you launch any Adobe Creative Cloud application like Photoshop or Indesign, choose "Help" > Signout. Even this step will deactivates all the other CC applications.
    Later, when you launch any application, it would say that it is running in trial version and will prompt you to enter your credentials.
    Regards,
    Jairaj

  • Way to log out a FSU account in shell?

    I'm looking for a way to log out a background user (Fast Switched User - FSU) who forgot to log out - from the terminal.
    I know this is trivial in the *nix world, just killing a process probably; I just can't find the command to do it in Mac's flavor (I'm a casual *nix shell user)
    BTW, I don't want the Prefs->Security->General "logout after inactivity" setting.... that logs out everybody (including me) and I can't have my account logged out (due to running processes).
    these are the closest I have gotten so far but both have problems:
    $osascript -e 'tell application "System Events" to log out'  <-- but this would log ME out.....
    OR
    kill -9 `ps -u <username> | grep -v PID | awk '{ printf ("%s ", $1); }'`    <---- this has a problem with the argument <username>  and I don't know how to fix it to test it.
    Ideas on this are appreciated!
    Thank you,
    Jason

    Thanks Linc -
    but when I try this, it says "no matching processes were found".  I then tried
    > ps -U /username/   (substituting real username of course)
    and I don't see a logonwindow....
    Any suggestions?

  • Some users don't appear at the login screen when restarting, only upon logging in as a user who does appear, then logging out. How can I make all users appear on the initial list?

    I've inherited a previously used early 2011 13-inch MacBook Pro at work.
    I now have my own account on the computer, however the account does not show up on the list of users to log in as in the start up log in screen. It will only appear if I first log in as one of the users who do appear, then logout. The background also changes between these two log in screens - the start up one is white whereas after logging out of one user it's the brushed steel background. My account has admin powers.
    Anyone have any ideas how I can make this account also show up on the start up screen?
    Thanks in advance for any help.

    I do think it has something to do with FileVault.
    Under System Preferences -> Security & Privacy -> FileVault I try and click "Enable users" near the bottom (after unlocking with an admin password). If I do this from my own account a green check mark appears next to my name, but upon clicking "done" I received this message after a brief loading period:
    The following users weren’t allowed to unlock this disk because an unknown error occurred: (myusername).
    I tried going into the root account and performing this same process, the first time System Prefences unexpectedly quit, and the second I received the same error as above after clicking the "Enable User..." button next to my account and trying to hit "Done".

  • Reboot without logging out other users

    Hi everyone,
    let's say there are 2 users currently logged in. One of them wants to reboot due to some reason. 2 choices are now available:
    a) Log in the other user to logout and switch back to the first one in order to reboot.
    b) Provide an admin's name/pw to logout other users automatically.
    My question is: What happens technically when going with option b?
    Will the other user's apps all be force-quit or will they quit normally unless there are unsaved changes? Or is it even something else?
    I'm asking because the second user usually only has Safari, Mail, iCal open so there are no save dialogues when quitting the apps manually and it would save some time to just log him out automatically instead of switching to his account only to log him out. Of course I don't want any unneccessary force-quits to happen due to the fact that prefs won't get saved this way compared to a normal quit.
    Hope you get it and thanks!
    Björn

    I just did some testing and it really seems to be a force-quit under all circumstances. Knowing that an app's preferences don't get written to disk when doing a force-quit by hand (cmdaltesc) I tried the following:
    I left the 2nd user logged in, changed Mail's window position and a setting in TextEdit's preferences. Both settings are stored in their respective plists. I then switched back to the first user, selected to reboot and typed in my admin name and pw. After reboot I saw that the 2ns user's app prefs weren't saved. TextEdit reverted to the settings before my change and Mail showed its window on the last saved position.
    Thanks for your input. Seems like it always is a force-quit this way and it's good to know that.
    Björn

  • MBP won't log out of user account

    Hello,-
    My MBP won't log out of my user account.  It just sits at a white screen with the apple logo.  I have to reboot it (several times) to get back
    to my user accounts.
    I have done a disk repair and it worked fine for 2 days then back to issue.
    Any suggestions?

    If you don't already have a current backup, back up all data before doing anything else. This procedure is a diagnostic  test. It changes nothing, for better or worse, and therefore will not, in itself, solve your problem. The backup is necessary on general principle, not because of anything suggested in this comment.
    Third-party system modifications are a common cause of usability problems. By a “system modification,” I mean software that affects the operation of other software — potentially for the worse. The procedure will help identify which such modifications you've installed, as well as some other aspects of the configuration that may be related to the problem.
    Don’t be alarmed by the seeming complexity of these instructions — they’re easy to carry out. Here's a brief summary: In each of two steps, you copy a line of text from this web page into a window in another application. You wait about a minute. Then you paste some other text, which will have been copied automatically, back into a reply on this page. The sequence is copy; paste; paste again. That's all there is to it. Details follow.
    While investigating the problem, you may have started the computer in "safe" mode. If possible, these steps should be taken while booted in “normal” mode, not in safe mode. If you’re now running in safe mode, reboot as usual before continuing. If you can only boot in safe mode, you can still use this procedure, but not all of it will work. Be sure to mention that in your reply, if you haven't already done so.
    Below are instructions to enter UNIX shell commands. The commands are safe and do nothing but produce human-readable output, but they must be entered exactly as given in order to work. If you question the safety of the procedure suggested here — which you should — search this site for other discussions in which it’s been followed without any report of ill effects. I am not asking you to trust me. If you can't satisfy yourself that these instructions are safe, don't follow them.
    The commands will line-wrap or scroll in your browser, but each one is really just a single long line, all of which must be selected. You can accomplish this easily by triple-clicking anywhere in the line. The whole line will highlight, and you can then copy it.
    Note: If you have more than one user account, Step 2 must be taken as an administrator. Ordinarily that would be the user created automatically when you booted the system for the first time. Step 1 should be taken as the user who has the problem, if different. Most personal Macs have only one user, and in that case this paragraph doesn’t apply.
    Launch the Terminal application in any of the following ways: 
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.) 
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens. 
    ☞ Open LaunchPad. Click Utilities, then Terminal in the icon grid. 
    When you launch Terminal, a text window will open with a line already in it, ending either in a dollar sign (“$”) or a percent sign (“%”). If you get the percent sign, enter “sh” and press return. You should then get a new line ending in a dollar sign. 
    Step 1 
    Triple-click anywhere in the line of text below on this page to select it:
    PB=/usr/libexec/PlistBuddy; PR () { [[ "$o" ]] && printf '\n%s:\n\n%s\n\n' "$1" "$o"; }; PF () { o=$($PB -c Print "$2" | awk -F'= ' \/$3'/{print $2}'); PR "$1"; }; { o=$(( $(vm_stat | awk '/Pageo/{sub("\\.",""); print $2}')/256 )); [[ $o -gt 1024 ]] && printf "\nPageouts: %s MiB\n\n" $o; o=$(kextstat -kl | grep -v com\\.apple | cut -c53- | cut -d\< -f1); PR "Loaded extrinsic kernel extensions"; o=$(launchctl list | sed 1d | awk '!/0x|com\.apple|org\.(x|openbsd)|\.[0-9]+$/{print $3}'); PR "Loaded extrinsic user agents"; o=$(launchctl getenv DYLD_INSERT_LIBRARIES); PR "Inserted libraries"; o=$(crontab -l); PR "User cron tasks"; o=$(cat /e*/lau*); PR "Global launchd configuration"; o=$(cat ~/.lau*); PR "Per-user launchd configuration"; PF "Global login items" /L*/P*/loginw* Path; PF "Per-user login items" L*/P*/*loginit* Name; PF "Safari extensions" L*/Saf*/*/E*.plist Bundle | sed 's/\..*$//;s/-[1-9]$//'; o=$(find ~ $TMPDIR.. \( -flags +sappnd,schg,uappnd,uchg -o ! -user $UID -o ! -perm -600 \) | wc -l); [[ $o -eq 0 ]] || printf "\nRestricted user files: %s\n\n" $o; cd; o=$(find -L /S*/L*/E* {,/}L*/{A*d,Compon,Ex,In,Keyb,Mail/Bu,P*P,Qu,Scripti,Servi,Spo}* -type d -name Contents -prune | while read d; do ID=$($PB -c 'Print :CFBundleIdentifier' "$d/Info.plist"); ID=${ID:-No bundle ID}; egrep -qv "^com\.apple\.[^x]|Accusys|ArcMSR|ATTO|HDPro|HighPoint|driver\.stex|hp-fax|JMicron|microsoft\.MDI|print|SoftRAID" <<< $ID && printf '%s\n\t(%s)\n' "${d%/Contents}" "$ID"; done); PR "Extrinsic loadable bundles"; o=$(find /u*/{,*/}lib -type f -exec sh -c 'file -b "$1" | grep -qw shared && ! codesign -v "$1"' {} {} \; -print); PR "Unsigned shared libraries"; for d in {,/}L*/{La,Priv,Sta}* L*/Fonts; do o=$(ls -A "$d"); PR "$d"; done; } 2> /dev/null | pbcopy; echo $'\nStep 1 done'
    Copy the selected text to the Clipboard by pressing the key combination command-C. Then click anywhere in the Terminal window and paste (command-V). I've tested these instructions only with the Safari web browser. If you use another browser, you may have to press the return key after pasting.
    The command may take up to a few minutes to run, depending on how many files you have and the speed of the computer. Wait for the line "Step 1 done" to appear below what you entered. The output of the command will be automatically copied to the Clipboard. If the command produced no output, the Clipboard will be empty. Paste into a reply to this message. No typing is involved in this step.
    Step 2 
    Remember that you must be logged in as an administrator for this step. Do as in Step 1 with this line:
    PR () { [[ "$o" ]] && printf '\n%s:\n\n%s\n\n' "$1" "$o"; }; { o=$(sudo launchctl list | sed 1d | awk '!/0x|com\.(apple|openssh|vix\.cron)|org\.(amav|apac|calendarse|cups|dove|isc|ntp|post[fg]|x)/{print $3}'); PR "Loaded extrinsic daemons"; o=$(sudo defaults read com.apple.loginwindow LoginHook); PR "Login hook"; o=$(sudo crontab -l); PR "Root cron tasks"; o=$(syslog -k Sender kernel -k Message CReq 'error|GPU |hfs: Ru|I/O e|find tok|n Cause: -|NVDA\(|pagin|timed? ?o' | tail -n25 | awk '/:/{$4=""; print}'); PR "Log check"; } 2> /dev/null | pbcopy; echo $'\nStep 2 done'
    This time you'll be prompted for your login password, which you do have to type. Nothing will be displayed when you type it. Type it carefully and then press return. You may get a one-time warning to be careful. Heed that warning, but don't post it. If you see a message that your username "is not in the sudoers file," then you're not logged in as an administrator.
    You can then quit Terminal.
    To prevent confusion, I'll repeat: When you type your password in the Terminal window, you won't see what you're typing.
    Note: If you don’t have a login password, set one before taking Step 2. If that’s not possible, skip the step.
    Important: If any personal information, such as your name or email address, appears in the output of these commands, anonymize it before posting. Usually that won't be necessary.
    Remember, Steps 1 and 2 are all copy-and-paste — type only your password. Also remember to post the output.

  • Enhancement while user log out of the session

    Hi
             We are connecting to the external system through web services and query it  to get the data. We will call this connection to external system from most of the important transactions. Our problem is, once the user connects to the external system, he has to stay connected tilll the user log out i.e. user has to disconnect while he log out. I am using shared objects and creating instance while user connects. But no clue where to clear this instance and close the connectivity. So, my question is there any BADI, Userexit or enhancement triggers while user log out or any other way to implement . Please advise
    Regards
    Shailaja.

    HI Sailaja  ,
    You can  check that  by Creating One RFC   by passing parameter   when you are connecting to external system  and also  when you are logging out of the external system  , one flag can be paased to RFC  when he logs out and  can close the session accordingly  .
    Regards
    Deepak.

  • Clients get stuck when logging out current user

    I'm using ARD 3.1 to control 9 different Macs (from G4's with 10.3.9 to Dual G5's with 10.4.8, all with 3.1 clients, all with several user accounts) in the same company in Germany. I'm connected to the company through an SSH tunnel all the time.
    Some of these Macs regulary go to "ARD Not Active" after I log out any current user from the Apple menu on that computer (i. e. if I want to log out the admin and switch back to some normal user).
    From my end it then looks as if this computer would be down, but actually the computer is still on and seems to be in some kind of deep sleep that can only be ended by hitting some keys on the keyboard in Germany or sometimes even only by restarting the computer.
    This happpens frequently on 3 of these 9 computers. 2 of them have 10.4.8 and 1 has 10.4.6. The same thing also happened all the time with ARD 3.0.
    Any idea what this might be and how I could fix this? It's often very annoying because I have to wait for the next day before I can continue to work on these computers.
    Thanks and greetings
    azdesertman
      Mac OS X (10.4.8)  

    Part of your problem sounds like the energy saver settings are putting the machine to sleep. You might be able to wake them simply by executing a "Wake" command on the computers.
    You could also set the energy saver settings to not allow the machines to go to sleep.

  • Why does xorg restart when switching users/logging out? Using GDM.

    Not a reall issue, but its kind of annoying of seeing that black screen anytime someone logs out or switches user. Is this really needed?
    Is there any solution to prevent xorg from restarting?
    I use GDM, with the inittab method.

    Hi Linc thank you for getting back to me.
    I don't see anything labeled as crash reports under system diagnostics. I do not use the console very often because I only do basic things on my iMac so my familiarity with it is not as good.
    I know you said you wanted text but I can't past this text here so it is another screen shot. If you see something you want more information on, I can post the text of that specific line.
    Keep in mind, since last night when I originally posted, the administrator account has been logged off, while my other account remained logged on and good to go.

  • Logging out another user?

    my cousin tried plugging his mp3 player in and using my Itunes, but it didnt work for him. Now whenever I plug my Ipod in, it says it can't run my Ipod unless I log out the other user. How do I do this?
    pc   Windows XP  
    pc   Windows XP  

    You can restart your PC or follow these directions:
    You can also try this
    Close iTunes.
    ctl-alt-del > Task Manager > Processes tab
    Click the ImageName column to sort alphabetically
    Check the box for showing processes for all users
    End these processes
    iPodService.exe
    iTunesHelper.exe
    Close TaskManager.
    Start > Run > "C:\Program Files\iTunes\iTunesHelper.exe"
    The quotes are important, make sure they are there. You can cut/paste from this post.

  • Safari 1.3.2 quits then I can't log out

    When I first log into my user account and start Safari it quits immediately after loading my home page. I can start it back up and run normally, along with any other software. When I eventually log out of my user name in 10.3.9, I get a black screen with the Darwin login prompt. At that point my only choice is to hold down the power button until my Macintosh shuts off.
    All other software runs normally and if I never start Safari, I can log in and out at will.
    I've tried removing the Safari.plist file and the Icons folder, but that did not make a difference. Are there other files that may have become corrupt? Has any one had this problem. It all started when I upgraded from 10.2.x.

    I had some difficulty doing the upgrade. After a couple failed attempts at upgrading without losing my 10.2 system folder (per the instructions on the 10.3 disk) I performed the clean 10.3 installation. Then I had problems with classic. I ended up throwing away the OS9 folder and reinstalling. I suppose there could be invisible 10.2 files or folders still on the hard drive.
    After getting frustrated with Safari, I made a new user and it worked fine for a few weeks. Started giving the the same old problem today. We triggered the same symptoms in another user a day or two ago. I wonder if it could have caused the problem to spread. If so, it wasn't immediate.
    Maybe I need to make all new users and delete the old. It's definitely a problem with every user.

Maybe you are looking for

  • Multiple ip addresses on one Mac Server

    we have 2 ethrnet, 1GB network, on 2 separate switchers, diffierent IP range, what iam looking for is to set the primery eathrnet port on the server and client MAC PRO, only for internet traficing usage, the secondery port use for open directory traf

  • Windows XP (SP3) won't boot

    I wonder if anyone here can help me. Neither the people at Apple, VMware or Microsoft can do so. Basically my VM powers on and I can see my Windows wallpaper. No desktop, no Start menu, no ability to safe boot (that I've been able to figure out). Any

  • Safari video not playing

    When I open a post with an embedded YouTube video in Safari, the video does not appear (it is there and plays well when I open the same page on Chrome). Also, using Blogger, I am suddenly unable to use any features in pop-up windows; the windows appe

  • Setting  a White Point and Black Point

    I would like to suggest for future versions of lIghtroom to have an ability to set the white point and black points similar to levels and curves in Photoshop. This would be in addition to setting middle grey in the white balance settings currently in

  • How to switch to primary library ??

    I'm connected to ATV from a second library(streamed), now I want to open the primary library. In apple tv I see that my primary lib. is with chain but is gray color. If I close iTunes it saids that one or more ATVS are connected to iTunes and will be