macfidelity

|

rethinking the think-different thing

10.5 ::: Start screen sharing remotely in Terminal

March 27th, 2008 at 18:27

This is a raw copy from macosxhints.com:

Assume you want to do some work on a remote Mac via 10.5’s Screen Sharing, but you forgot to enable Screen Sharing before you left the remote Mac. You’re now a good distance away, and apparently stuck. Fortunately, because the screen sharing system uses launchd to monitor its state, enabling and disabling is as simple as adding a file in the remote Mac’s /Libary/Preferences folder. (Note that you’ll need to be able to login to the remote Mac via ssh to run these commands on that Mac.)

$ cd /Library/Preferences
$ echo -n enabled > com.apple.ScreenSharing.launchd

To disable screen sharing:

$ cd /Library/Preferences
$ rm com.apple.ScreenSharing.launchd

If you have a Finder window open with the remote Mac selected in the Shared section, you’ll even note the icon for Screen Sharing coming and going as you do this.

Tags: , , , ,

2 Responses to “10.5 ::: Start screen sharing remotely in Terminal”

  1. mac & apps | Screen Sharing Helfer | macfidelity Says:

    [...] http://macfidelity.de/2008/03/27/105-start-screen-sharing-remotely-in-terminal/ [...]

  2. www.diegor.it » HOWTO: Abilitare “Condivisione Schermo” su OSX da terminale Says:

    [...] Fonte: MacFidelity [...]

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>