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


Click here to return to the '10.6: Start screen sharing remotely in Terminal' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.6: Start screen sharing remotely in Terminal
Authored by: covisp on Jun 20, '11 02:25:33PM

Neither of these locations works for OS X Lion, sadly. It appears that a binary plist is created at /Library/Preferences/com.apple.RemoteManagement.plist, but the contents of it do not seem to change when he setting in Sharing=>Remote Management are changed, nor when Sharing=>Screen Sharing is turned on, but the file's time stamp is changed.

[raw]
<dict>
<key>ARD_AllLocalUsers</key>
<false/>
<key>LoadRemoteManagementMenuExtra</key>
<false/>
<key>ScreenSharingReqPermEnabled</key>
<false/>
<key>VNCLegacyConnectionsEnabled</key>
<false/>
</dict>
[/raw]

There is also /Library/Application Support/Apple/Remote Desktop/Client/Tasks/tasks.plist which is touched, but not actually changed. I suspect all these settings now are 'hidden' in some defaults write area or a database?

Haven't found it yet.


---
http://www.covisp.net



[ Reply to This | # ]
10.6: Start screen sharing remotely in Terminal
Authored by: MatteoC on Aug 03, '11 02:39:33PM
for me the following did the job:


cd /System/Library/LaunchDaemons/
sudo launchctl load -w com.apple.screensharing.plist

where

sudo launchctl unload -w com.apple.screensharing.plist would disable it. Worked for me in Lion. Might work in older Versions too.

[ Reply to This | # ]