Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Click here to return to the 'Switch to login window upon sleep' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Switch to login window upon sleep
Authored by: jamiebah on Aug 02, '04 10:27:02PM
I needed to add a bit to the /etc/rc.sleep script, it didn't work if I added it to the .sleep script. (The line I added is in BOLD) If I didn't, I would get errors in the system log file that looked like this after waking my laptop
NPC (kext): Unable to send disconnect message to npcdaemon (32)

for home in /var/root /Users/*; do
 if [ -f "$home/.sleep" -a -x "$home/.sleep" ]; then
    su - `basename "$home"` -c "$home"/.sleep
   sleep 3

[ Reply to This | # ]