Remote Control Mac From Ubuntu and Windows [ How To ]

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 .


  1. ssh into mac
  2. enable screen sharing using ( for all users )
sudo /System/Library/CoreServices/RemoteManagement/ -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

4 . If You are on windows
* Download and install ultra vnc
* open ultra vnc viewer and enter connetcion details then press connect


ultra vnc

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

$ sudo /System/Library/CoreServices/RemoteManagement/ -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/ -deactivate -configure -access -off

Useful Links

Tagged With : - - -