Screen Sharing

Sobchak
Contributor

I am not sure why Casper Remote does not enable screen sharing for the management account as part of its connection process, but since it does not I need to figure out how to remotely accomplish this task. Is there a way to do this?

1 REPLY 1

cwaldrip
Valued Contributor

Casper Remote uses Screen Sharing, but does it through initiating an SSH session regardless of the Screen Sharing settings. Do you mean for access directly from Apple's Screen Sharing app or Remote Desktop?

You can use the kickstart command that's part of Remote Desktop (which is what Screen Sharing is using). Create a script and push it with a policy.

/System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/kickstart -help

That'll give you a list of switches used by kickstart.

But this would be a good start...

/System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/kickstart -configure -users yourmanagementaccount -access -on -privs -all -allowAccessFor -specifiedUsers -restart -agent