Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Bearxor

macrumors 6502a
Original poster
Jun 7, 2007
796
534
Hey all,

I've searched but haven't found anything so I'm hoping someone knows or will tell me where to go to find it :).

I have several remote machines that I need to connect to through SSH tunnels. I'd prefer to simply write a script to do this. So the script will need to connect and authenticate via SSH and then start the OS X built-in VNC viewer.

I'm just not sure how to start the VNC viewer from the command line (IE: what command do I use?!?!). If anyone knows it would be greatly appreciated.
 
Looks like it's in the same spot for 10.7 and 10.6...

Code:
/System/Library/CoreServices/Screen Sharing.app/Contents/Mac OS/Screen Sharing
 
Thanks. I had no idea where that was or what is was called. Why the couldn't put it under Applications -> Utilities so it's easy to identify is beyond me...
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.