News, info, and opinion by Mac users, for Mac users.

March 26, 2008

tips

Remote start screen-sharing (for those cold winter mornings)

Posted Mar. 26, ’08, 9:08 AM PT by Dan Moren
Category | Tips

Screen-sharingSo there you are, on the road—what, you don’t travel? Okay, bear with me—there you are, on the road, and you need to take a look at something on your desktop Mac back at home. You fire up Leopard’s built-in screen-sharing, only to find that while you oh-so-cleverly remembered to leave your desktop Mac on, you neglected to turn on screen sharing.

Tipster alblue over at Mac OS X Hints has this easy solution for you, if you were also clever enough to leave remote login enabled: you can start screen-sharing from the command line simply by creating a file in the correct directory. Just navigate to /Library/Preferences and enter the following command:

echo -n enabled > com.apple.ScreenSharing.launchd

Voilà. That’s it. Want to turn it off again? Just enter the following command in the same directory:

rm com.apple.ScreenSharing.launchd

Couldn’t be easier. Well, it could probably be a little easier, but it’s pretty darn easy.


1 Comments

Dan said:

You could always have an automator task to launch the the screen sharing application...

And then start it with a Twitter.

Check out how to control your mac with twitter.

Leave a comment

 




IDG IDG NETWORK:   CIO   Computerworld   CSO   GamePro   GamerHelp   IDG Connect   Infoworld  
   JavaWorld   LinuxWorld   Macworld   Network World   PC World   PC World Canada   Playlist   Techworld