How does fast user switching know which energy settings to use?

When using fast user switching and keeping 2 accounts logged in, which accounts' energy settings take priority (assuming their settings don't match)? For example, let's say I set my account's display to sleep after 15 minutes and my wife sets hers for 30 minutes. If we both keep our accounts logged in and then leave the Mac on the login screen, who wins?
The reason I ask is because my display won't stay asleep. Unlike my example above, I've made sure both accounts have identical energy settings (sleep the display after 15 minutes & the iMac itself is set to 'never sleep'). I can get it to sleep (usually by pressing control-shift-eject), but it will not stay asleep. I don't think any applications are causing this (I've shut down all apps to test - only Time Machine is scheduled to run automatically). I'm starting to wonder if fast user switching could be the cause? I usually keep both accounts logged in at all times and return to the login screen before heading to bed. I then force the display to sleep with control-shift-eject, but several hours later I wake up to a bright room because the display has turned on again. I haven't tried turning off fast user switching yet, but I can see where that might confuse the OS?
Oh, I've also disabled waking on bluetooth activity just in case my wireless mighty mouse was losing its connection & waking the display upon reconnection - no luck.
Any thoughts or suggestions are appreciated - it's driving me nuts, especially since I can't just turn off the iMac display itself without powering down the entire system.

Energy Saver settings are system-wide and not specific to the user. If one user changes the settings, it's changed for everyone. Screensaver settings are user-specific.
That said, the reason that the system wakes by itself can be one of several things: the system is set to wake up (you can set this under energy saver) by preferences or some application/service, the system receives a wake-up message from something on the network (you can configure this under Security, I believe, or Network, I don't recall), or you have "chatter" related to a device plugged into your computer.
"chatter" is when a USB device or FireWire device sends a signal to the computer it's connected to. Normally, peripherals are quiet if not actively in use, but some things (cheap USB hubs, certain mice, etc) will spuriously send a signal to the connected computer and cause it to wake.

Similar Messages

  • Anonymous Client - How Does the Service Endpoint Know Which Operation

    I am using a client (Axis2) to invoke a service through their Anonymous capabilities. When this is done, you create a ServiceClient with the default constructor and call one of its methods based on the MEP that I want to perform. In doing this, the ServiceClient is not aware of the WSDL, the SOAP Action, the Service Name, the Port Name...only the Endpoint URI of where I want the post to be sent.
    So I have a Service Endpoint running in WebLogic 10 and constructed using EJB3. We are using JWS to generate the WSDL and other web service configuration files from our SLSB. My WSDL has two operations with different request messages and different response messages. When I send the Anonymous client request, the Service Endpoint correctly processes the request and send the correct response.
    How is this happening? Does the EJB3 Service Endpoint know how to process or bind the message based on the root element of the SOAP Body? And is it just working by circumstance. So if I had two operations with the same request message and different responses, would it fail?
    Thanks -jay
    Edited by: jaybytez on Jun 13, 2008 5:35 PM
    Edited by: jaybytez on Jun 13, 2008 5:36 PM

    Unfortunately you have to make some changes in your code.. to find the pictures you need to replace:
    ImageIcon pic = new ImageIcon("pic.gif");
    with
    URL url = MyClass.class.getResource("pic.gif");
    ImageIcon pic = new ImageIcon(url);
    where MyClass is the class which needs to load the resource.
    I hope this helped you! /Pingu

  • How does my Samsung Note know which phone number is assigned to it?

    I have two Samsung notes that have a phone number associated to them.  I want to use the texting app so do I use the phone number verizon gave the note?

    The SIM card holds the phone number and account information for phones like the Galaxy Note.

  • How to get "fast user switching" and network shares playing nice

    I've been alternating between banging my head against a wall and reading every forum I could find to try and get a reasonable compromise between using "Fast user switching" and sharing a folder from a file server.  It baffles me how the network share/mount model of OSX/AFP is completely killed by fast-user-switching; this is a big problem with Apple requiring users to be actively logged in to share music/video from iTunes which therefore essentially requires fast-user-switching if anyone else wants to use the computer.  (anyone find it odd that you can share files without being logged in, but sharing songs requires an active login for each user who is sharing?  Apple: time to make iTunes sharing a service!)
    For the sake of example, lets just say I want to share my /Groups folder from my desktop and have it be accessible to my laptop.  Here are all the things that I tried:
    Apple Method 1) Share /Groups in the Server.app on the desktop (running Lion Server), use finder on the laptop and drag the share icon to "Login Items", alternative use a startup Apple script using "mount volume"  Both of the options work and will mount the /Groups folder under /Volumes/Groups, of course when the second person logs in via fast-user-switching (and occasionally the first person for no apparent reason), they will get /Volumes/Groups-1 since /Volumes/Groups is already taken.  Tomorrow we log in a different order and now the previously /Volumes/Groups-1 user has their mount at /Volumes/Group and vice versa.  Any links, aliases, finder sidebar references, and application settings which pointed to yesterday's location are now BROKEN.  Not very user friendly to my mother-in-law who is trying to find those pictures of the kids and doesn't know anything about mount points. I also can't reasonably mirror the file location structure on the desktop so that application preferences that are synced between the two (portable home directories) work.   fail.
    Apple Method 2) Use automounter and set up by hand direct maps for /Groups or an indirect maps for the children of /Groups.  Now it will automatically get mounted to /network/servers/SERVER/Groups/ on the laptop and on the desktop it will automatically create a similar symlink structure so that the same path (/network/servers/SERVER/Groups) work both on desktop and laptop.  Cool.  Except when the second person logs in, the /network/servers/SERVER/Groups/ mountpoint is already owned by the first user and they don't have any permissions to access it.  Fail.
    Apple Method 3) Use mount_afs and specify directly the mount-points.  Have each user have their own startup AppleScript which mounts /Groups to a different location (e.g. /Users/Shared/username/Groups) that way they don't conflict with multiple users.  On the desktop, set up symlinks from /Users/Shared/username/Group to /Groups so that it will be the same as the client and applications settings will work when synchronized back/forth by portable-home-directories.  Will it work, yes it does, but what a bear to maintain.  Is this really what I should expect to do just to have multiple users on my desktop and laptop (which again is essentially required now if I want to do any type of iTunes sharing).  This can't be what apple expects.
    What I ended up doing - the "not quite apple" solution.
    Non-Apple Method 4) After a read of "Autofs: Automatically Mounting Network File Shares in Mac OS X" (http://images.apple.com/business/docs/Autofs.pdf) at the very end there is a single paragraph  of "Kerberized NFS": "A Kerberized NFS mount can have multiple connections from multiple users, each using the correct user’s credentials for each transaction. This allows administrators to support multiple users, each authenticated with their own credentials to the same mount point. This is very different from AFP and SMB mounts," (emphasis mine)
    It appears that by using good 'ole NFS (abeint with Kerberos for security!) you can actually have multiple users on the same mount point.  Roughly following the guidance at https://support.apple.com/kb/TA24986?viewlocale=en_US.  What I needed to do was:
    1) create /etc/exports on my desktop and add a single line "/Groups -sec=krb5".  The existence of /etc/exports triggered a start of nfsd which no longer has any GUI options in Lion.
    2) Add a line to /etc/auto_master on my laptop "/-  auto_mymounts" to reference a new direct map.
    3) Create /etc/auto_mymounts and add a single line "/Groups         SERVER:/Groups" to create the direct map.
    THAT'S IT.  Three lines in three files.
    Now when I log into my laptop, there is a /Groups that is a network mount of my desktop's /Groups, same location AND it works for all of my users, even simultaneously. 
    In the end I'm happy with what I've got, but man was this a difficult path just to support fast-user-switching.  In Lion, Apple appears to be getting away from NFS (no longer turned on by default and remove from the GUI controls) but clearly this really useful functionality which doesn't exist in AFP. 
    I'm really curious, after all this work.  Any other ways to accomplish this?

    In my example above, yes I chose to mount the share "Groups" to the top of the root since that is where I put it on my server and I wanted to keep them similar; but that was just my preference, it isn't a requirement.  You can export and mount from other directories.

  • Is Xsan compantible with Fast User Switching in 10.4 Tiger?

    Does anyone know if Xsan is compatible with Tiger's 'fast user switching' feature (which allows you to have multiple users logged into the machine at the same time)?
    I had a very strange occurrence with my Xsan yesterday. The Xsan volume was mounted on one client only, but that client was logged in with two users. Even though no software was accessing the volume (i.e. FCP not running by either user) I noticed that my Xserve RAID was lit up like a blue Christmas tree -- something was reading data. When I launched the Xsan Admin app on the server (primary controller) it lost connection with the SAN and reported a FATAL error. Long story short... I had to log out of both users and restart the client to get control back. All appears fine now, but I'm only running one user on this client. I would like to be able to use the fast switching feature, but how do I prevent Xsan problems?
    Also.. is it possible that Spotlight is trying to index the SAN volume? If so, how are people preventing this in Tiger?

    Very interesting... never tried it..
    Spotlight does not index your xsan, you can check it by:
    mdutil -s /Volumes/XsanVolume

  • What is news about apple products being hacked ? How does a user fix this?

    What was national news speaking about the apple products being hacked? How does a user fix?

    Go to settings> general>software update and install IOS7.0.6. Backing your iPad up is recommended.

  • Mac OS X 10.5: How to enable Fast User Switching

    On my iBook G4, I have installed Leopard and retain the ability that I had with Tiger to select my user name on the top bar and then switch users. However, on my dad's iMac, which came preloaded with Leopard, I do not have this same ability. How would I go about making this work?

    You have to activate Fast User Switching in System Preferences > Accounts (at the lower left corner you'll find the button Login Options). You can choose whether to display just an icon or your user name in the menu bar. In order to change any of these options you need admin privileges. If the menus are greyed out click on the padlock in the lower left corner of the window.
    floba

  • How to enable fast user switching in OS X 10.8.1?

    How do I enable fast user switching in OS X 10.8.1?

    go to System Preferences > Users & Groups
    Login Options (underneath the list of users)
    Tick "Show fast user switching menu as .."

  • How to enable fast user switching remotely via SSH?

    There is a Mac which at the moment doesn't allow fast user switching. I have admin account on this Mac. Currently, another user is logged in, so I can access the Mac only via SSH. I don't want to destroy the session of that user otherwise the user can loose important data.
    Can I enable fast user switching by accessing the Mac via SSH?

    Try this:
    defaults write /Library/Preferences/.GlobalPreferences MultipleSessionEnabled -bool YES

  • Fast user switching menu - how do I have icons for all users?

    I'm setting up a new computer for three users. I have enabled the fast user switching menu. I set the menu to 'Icon'. However, it only shows the icon for myself, the admin. For the other two accounts, when they log in it remains as their (rather long) real names. The same thing happens if I select 'Account Name': it only shows the 'Account Name' for myself. When I switch to the other users, it is still their real name.
    How can I have icons (or account names) for ALL users??

    See CCK Wizard: https://addons.mozilla.org/firefox/addon/cck/
    You can use a mozilla.cfg file in the Firefox program folder to lock prefs or specify new (default) values.
    Place a file local-settings.js in the defaults\pref folder where you also find the file channel-prefs.js to specify using mozilla.cfg.
    pref("general.config.filename", "mozilla.cfg");
    pref("general.config.obscure_value", 0); // use this to disable the byte-shift
    See:
    *http://kb.mozillazine.org/Locking_preferences
    These functions can be used in the mozilla.cfg file:
    defaultPref(); // set new default value
    pref(); // set pref, but allow changes in current session
    lockPref(); // lock pref, disallow changes

  • Fast User Switching with Mounted Network Drive?

    I have a headless G4 Cube running 10.5.8 with a 2TB firewire drive plugged in for storage accessable to any of my macs here at home. I can access it fine with my 2 desktops over ethernet and wirelessly. Recently we decided to consolidate our 2 desktops into one using the muliple users feature. Seems to work fine, and both accounts can access the shared drive. They are logging in with the cube's admin credentials, and the shared drive is set to ignore permissions. I have the drive set to mount on login with a startup item in the system login items prefs. As long as I logout before switching users, everything is good.
    The problem arises with Fast User Switching which we'd love to be able to use. I can't figure out how to connect to the drive in one account without the 2nd account then seeing it as a volume without proper permissions, then that account creates a new volume mount for it (which doesn't work with iTunes properly and seems to cause other wierd issues).
    Example: So say 'user1' logs in, mounts the drive 'Jukebox'. everything seems OK so far. 'Jukebox' is on the desktop and iTunes finds the music. Now I fast user switch to 'user2' and there is a 'Jukebox' on the desktop with the red minus icon indicating I don't have permissions to access it. If I then browse the network and mount the drive, I end up with ANOTHER 'Jukebox' on the desktop. BUT iTunes doesn't see it properly. If I look in the /Volumes/ folder with the Terminal, I see a mountpoint for 'Jukebox' (with the owner of 'user1' group 'staff') and now a new mountpoint called 'Jukebox-1' (with the owner of 'user2' group 'staff').
    It seems when you mount a AFP drive, it creates the Volume with the current user and staff group, but switching to another user then can't access that when it sees it in the /Volumes folder. You try to mount again and it creates a NEW mountpoint, names it with a '-1' at the end and you can use that (but iTunes cant).
    So... how does one use a shared drive that you want on BOTH users desktops with Fast User Switching turned on? Is there a way to have the drive mounted BEFORE either user logs in, such that it will be seen as any other local drive (which doesn't have the issue)??
    Or is there some other way I can attach to the network volume in each account on login so both have access to music and videos with full permissions?
    I'm really stumped here after 2 hrs of googling, searching here and trying things.
    TIA

    I've not had any luck with the suggestions in the link either.
    Here's two other approaches I've tried and failed with:
    1. Creating a new share point on the cube itself so that one user can mount it as a different volume. Then the issue is that I still don't have a volume named "Jukebox" available to each user when switching. I DO have access now to the data from both accounts, but under 2 different mount points (volume names) and the xml file for iTunes is hard coded with the path for each mp3 including the "Jukebox" volume name... so no go.
    2. Tried figuring out a way I could script a mounting of the share with the terminal thinking I could then run that shell script at startup. Can't seem to get the sytax right. If I create a directory in /Volumes and mount and afp share to it, it takes on the ownership of root/wheel which I can't access in the finder and can't seem to change.
    BUT I'll keep playing with both these ideas a bit... the first one might be overcome with a bit of logic and the 2nd if I can get the syntax right to mount the share with afp_mount and give it the correct ownership/permissions such that when a user logs in she/he sees the volume on the desktop and has full r/w access to it.
    thanks again. if you offhand know the syntax for that, let me know

  • Network Drive problems with Fast User Switching

    I have a USB drive connected to my Time Capsule and shared to the network. On one of my computers (Mac Pro) I have 2 user accounts which access the data (music, photos). The first one to access the drive after a power on has no problems, and everything works perfectly. However, if I Fast User Switch to the other account, it can see the drive but cannot access it (permission problem apparently). I then have to click the disconnect button in finder, and reconnect, and then can use it again fine. Then when I switch back to the first account its the same deal, having to disconnect and reconnect. It is really annoying, since it marks all my itunes songs as missing and whatnot. Does anyone know how to fix it?
    Thanks!

    Yes, under Sharing in System Preferences both users have been added to full access of the drive. I had to do that for the non-admin account to be able to access it at all.

  • ITunes with fast user switching.

    One day I was listening to a really good and song and found that I need to switch to another account on my Mac so when I switched it stopped my music and I was like crap I have when I have to switch users when listening to music. So I was thinking how cool would it be if when I switched user if itunes would just keep playing so it would not interrupt me. Does anyone know how I could accomplish this?

    Now that I'm running Leopard I can say that is still happens; iTunes stops when switching accounts through Fast User Switching.
    Except yesterday iTunes kept playing for some reason. At the same time it seemed like Fast User Switching was broken, at least from the account with iTunes playing. Only the Login Window choice was enabled. So it might be that selecting a user directly is when iTunes gets stopped. However I don't know how to get it to work that way again since the login window option is not available when Fast User Switching is turned off—you can only Log Out (which of course turns off everything).
    Maybe an enterprising programmer can fix this lack of choice in Leopard.

  • Fast User Switching through Profile Manager

    We recently started using OS X Server to manage our Mac computers, currently only 2 but further expansion is expected.  I only have one of the Macs set up on the server for testing purposes.  We are primarily an Active Directory network and I have implemented Open Directory through OS X Server and bound that to the primary Windows domain controller.
    So far, things have gone quite smoothly with the integration except for implementing fast user switching on the single client machine tied to the OS X Server box.  I have gone through Profile Manager and under the Login Window settings for the laptop, enabled fast user switching.  However, it still does not work on the client machine after the changes were pushed out. 
    The user does not get her user name listed in the upper right and we have found no other method of using fast user switching.  She specifically wants to display the login window when she's not at her desk (and this is required for security reasons).  As it is, she has to completely log out of her machine every time she leaves her desk which is, inconvenient, to say the least. 
    I have searched through the discussions here and every mention I've found that seems to reference this issue also references using network home directories, which we are not doing.  I have the home directory set to continue to reside on the local machine so the AFP/NFS issue shouldn't apply. 
    Prior to implementing OS X Server, the only thing we were unable to do was limit external drive use and writable media on the Macs since they don't recognize those GPOs from the domain controller.  Updates were easily handled through a third party appliance that we already use for all our other devices and computers on the network.  At this point, if fast user switching is unavailable, it would be less work and less inconvenient for me to simply limit the external media use locally and allow the Mac to be locked by removing the influence of OS X Server. 
    If anyone knows how to enable it though, this would be my preference since the Software Update is *easier* through OS X Server.

    I found the problem.  The device group that the laptop in question was assigned to also has an option for fast user switching that was not enabled.  I enabled it there and the problem was resolved.

  • Screen has a bluish tint after fast user switching and then warning tone

    Hi all I'm having a bit of a problem that I hope someone can help me with. First the details, I have a MBP bought in late '07 and running Tiger. I was doing full backups using "Backup" and I also had Safari, iTunes, and Word open. I briefly switched to my other account using fast user switching and when I returned to the original account the whole screen had a blue tint to it. Like the color profile was off. This has happened before and a restart usually cures it, I haven't restarted yet but I am fairly certain it will correct the problem this time too. But is there anyway to prevent this? My second question is the one I'm more worried about. It also has happened before but usually when using more CPU intensive applications. When I went to System Preferences and opened up the display preferences in an attempt to correct the previous problem I heard a very loud tone. Like some type of warning tone, it was loud enough that it startled me. I had iTunes playing and after the tone the music got very quiet but relaunching it brought it back to normal. I'm just wondering is this some type of warning tone? Is it something I should be concerned about? Besides the music everything else seemed unaffected, although the previous times that this has happened usually when using handbrake there was noticeable problems after the tone (like applications crashing). All of these problems are gone after the computer is restarted though. Does anyone have any insight on these issues? Thank you.
    -James

    OK I ran TechTool and everything passed except for the volume scan. Then I checked this with Disk Utility and the HD failed for a few minor reasons, like invalid block count. I repaired it using the fsck -fy command in single user mode. The computer seems a little faster now. I don't know if this error is related to the beep in any way, I may try talking to an Apple genius to see if they know. Since it seems like pretty minor errors I'm not too worried about it but it does seem to be happening often. The last time I had this error was when I posted a question here about it which I just checked was on March 1st. So this error happened again after a little more than 2 weeks which seems excessive to me. Any thoughts?

Maybe you are looking for

  • Can I send a message to multiple users at once?

    My company has an internal Jabber/XMPP server that we use to communicate as a group. Up until recently, I've been using a Jabber client called Psi (http://psi-im.org/) to connect to our Jabber server and do messaging. However, I recently decided to g

  • URGENT: TRANSPORTING APPRAISAL TEMPLATE

    Dear Friends, I had created an appraisal template in my SandBox development client. I then downloaded it and then uploaded it in the Golden Masters Client. I also created a transport request at the time of saving the template in Golden Masters. In my

  • Changing font size(bold) or color of a particular row in ALV Grid Digplay

    Hi Experts , I am having a requirment to highlight some particular rows in ALV Grid Display . To achieve this i need to change font size or make it bold or change color of that row . Please give me some inputs . Thanks in Advance. Vijyeta

  • Error adding up columns

    All i have a strange problem when i run the following code it produces the table, but the totals don't add up. If you look at the bottom row you can see the value is one short, am i missing something.      select trader, tradername,           max( de

  • Very strange rendering issue

    Hi-- I have some really bad footage that I've had to use several filters on, to make look even readable. Anyway, when I make my adjustments, the viewer looks as I'd like it to be. But when I render, I'm getting all these strange pixelated green blotc