![apple screen sharing](/static/758c6539c3fccc2a3dfea1257ce18538/2e195/Screen_Shot_2015-03-26_at_10.54.39_am.png)
Steps
- ssh into mac
- 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
andpassword
- set
color depth
tohigh color 15bit
- save and connect
![mac remote vnc](/static/846e2cffefedea792f7ed710ad5df67b/5a190/Screenshot-from-2015-03-26-103813-1024x577.png)
![mac remote vnc](/static/360032767faf09e57af7ebc8132f8a10/5a190/Screenshot-from-2015-03-26-103943-1024x619.png)
4 . If You are on windows
- Download and install ultra vnc
- open ultra vnc viewer and enter connetcion details then press connect
![connection](/static/3508d4db26e40902c42d85ffc073bd2e/14429/connection.jpg)
![ultra vnc](/static/bb0d41821bd79aadddcd327ecf7b7618/4b190/ultra-vnc-1024x576.jpg)
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