In article <b133d89.0307221621.3fdc7968@posting.google.com>,
steven@kan.org (Steven Kan) wrote:
sudo osascript -e 'tell application \"Finder\" to sleep'
this only works if the Finder is running (i.e. someone is logged in).^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Does this mean logged in graphically, or would my SSH login qualify?
No, the Finder needs to be running, which it doesn't if no one is logged in 'grapichally'
Is there any way I can trigger a graphical login from my SSH session
and _then_ tell it to go to sleep?
I don't think so no.
Sysop: | Gate Keeper |
---|---|
Location: | Shelby, NC |
Users: | 790 |
Nodes: | 20 (0 / 20) |
Uptime: | 40:29:05 |
Calls: | 12,115 |
Calls today: | 5 |
Files: | 5,294 |
D/L today: |
72 files (9,959K bytes) |
Messages: | 564,933 |