I've read the apmd and xlock man pages and am having trouble getting xlock
to start after a resume. I created the file /etc/apm/resume and chmod
755. But for some reason, it doesn't run on resume. Permissions are
root/wheel. On a weird note, when I ran sudo apmd rather then letting
apmd start on boot xlock worked but it locked as root and not my logged in
user. Does anyone have any suggestions on how to get xlock to start on a
resume.
The contents of /etc/apm/resume are:
#!/bin/sh
xlock -mode matrix
Thanks in advance.