Skip to content

Instantly share code, notes, and snippets.

@joaohcrangel
Created September 26, 2022 15:53
Show Gist options
  • Save joaohcrangel/ca5613a0d6c526645fc4643651216b60 to your computer and use it in GitHub Desktop.
Save joaohcrangel/ca5613a0d6c526645fc4643651216b60 to your computer and use it in GitHub Desktop.
AWS EC2 MacOS
# Install and start VNC on the EC2 Mac instance:
sudo defaults write /var/db/launchd.db/com.apple.launchd/overrides.plist com.apple.screensharing -dict Disabled -bool false
sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.screensharing.plist
# Update the password for ec2-user
sudo passwd ec2-user
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment