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


Click here to return to the 'Remote admin helper scripts' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Remote admin helper scripts
Authored by: Djehuti on Aug 06, '04 11:13:47AM

Another way to start OSXvnc remotely is to choose the option "Start server when launched" and then just run "open -a OSXvnc" when you login via SSH.



[ Reply to This | # ]
Remote admin helper scripts
Authored by: johnd0e on Aug 07, '04 08:02:51AM

Another useful script
#!/bin/bash
#finder2sleep.sh
# puts computer to sleep after a given amount of seconds
sleep $1;
osascript -e 'tell application "Finder" to sleep'



[ Reply to This | # ]
Remote admin helper scripts
Authored by: osxpounder on Aug 09, '04 05:54:03PM

Hmm, I don't see that option in my OSXVnc ... perhaps you have a newer version. Where does one download that? BTW, don't try "osxvnc.com" for that, because it's apparently the home of some porn site -- at least, I got a rude web page when I followed the link OSXVnc provided....

Instead of putting OSXVnc in my /bin, I just created a one-line text file that is the path to the .app, plus command-line options; I set that to be executable, and now I just log in via SSH, type the name of that file, and OSXVnc starts. I connect via a VNC viewer, and, when I'm done and ready to disconnect, I go back to the ssh terminal window and do CTRL-C, which kills the server and returns me to a command prompt.

---
--
osxpounder



[ Reply to This | # ]