Computersnyou

Remote Control Mac From Ubuntu and Windows [ How To ]

Posted on  3/26/2015
apple screen sharing
apple screen sharing
In this tutorial , I am going to show you how to enable Mac’s screen sharing from ssh session and how to connect using vnc client .

Steps

  1. ssh into mac
  2. enable screen sharing using ( for all users )
sudo /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/kickstart -activate -configure -access -on -users admin -privs -all -restart -agent -menu

3 . If you are on ubuntu then open Remmina Desktop Client

  • connect using protocol * vnc virtual network computing *
  • fill username and password
  • set color depth to high color 15bit
  • save and connect
mac remote vnc
mac remote vnc
mac remote vnc
mac remote vnc

4 . If You are on windows

  • Download and install ultra vnc
  • open ultra vnc viewer and enter connetcion details then press connect
connection
connection
ultra vnc
ultra vnc

If you are getting ‘authorization failed ` or etc then try this

$ sudo /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/kickstart -verbose -activate -restart -agent -allowAccessFor -allUsers -privs -all -clientopts -setvnclegacy -vnclegacy yes -setvncpw -vncpw passwordYouWantToUse

** Deactivating **

you can di-activate this using this command .

$ sudo /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/kickstart -deactivate -configure -access -off

Useful Links


  • Home
  • About