55

The built-in VNC client with OS X works just great with most VNC servers I've tried on FreeBSD. I've mostly been using TigerVNC from ports (seems to be the fastest with OS X's VNC client), and the only issue I have is when I restart the VNC server while connected to it. The OS X VNC client will reconnect (great!) but it sizes the window oddly, and I can't ...


38

I had the same trouble, and to a headless Mini also. This is what I found that worked… sudo launchctl unload /System/Library/LaunchDaemons/com.apple.screensharing.plist sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.screensharing.plist I had the opportunity to install an SSD in my Mini, and did a clean install of Lion at that time, and ...


16

Run this command in the terminal to fix the external screen going blank on VNC disconnect. Works with Sierra OS. sudo defaults write /Library/Preferences/com.apple.RemoteManagement RestoreMachineState -bool NO More context from jabenninghoff on GitHub: In newer versions of macOS, screen sharing will automatically re-lock the screen when you disconnect ...


15

Other answers here are correct - it is not possible to remotely access a freshly-booted Mac with FileVault enabled without physical access (FileVault operates 1 layer closer to actual software than a 'traditional' BIOS or firmware password). It is, however, possible to remotely reboot a Mac and force it to allow remote access even with FileVault enabled, ...


14

This appears to be a bug in MacOS Mojave's VNC implementation. Thankfully, I have found a workaround. In the settings app, select Sharing. Then select "Screen Sharing" on the left and click on the "Computer Settings..." button. In the dialog that pops up, check "Anyone may request permission to control screen" and un-check "VNC viewers may control screen ...


13

There is a very cool command line utility called cscreen. The developer has a number of versions available. Depending on how old your Mac is, you either want the PPC version, or the Intel version. If your Mac is newer than a 2006 model, you probably want the Intel version. Once you have downloaded the disk image, double click the image to mount it, then ...


13

ARD into your "work account" and then do the following on the remote computer to open a Screen Sharing window to your "personal account" on the same remote computer. Create an SSH tunnel. It works for me using 10.9. Enable Remote Login (SSH) in System Preferences > Sharing, and in Terminal run: ssh -NL 5901:localhost:5900 localhost Finally, use Screen ...


10

I see some kind of ambiguity in answers here :-) I'd suggest to tell technologies and underlying protocols apart. VNC: uses RFB protocol. Apple Screen Sharing [SS] (which is enabled by checking "Screen Sharing" in System Prefs): it is a vanilla VNC plus some Apple-specific extensions, e.g. pasteboard auto synchronization, display selection, screen locking,...


10

Yes you can. Enable Screen Sharing by connecting the computer to a display (and keyboard) once. Then you can easily unplug display/keyboard and access the computer via Screen Sharing. As long as you do not mess with the network and screen sharing settings of the headless computer you also can turn it off and reboot it without loosing the ability to screen ...


10

Yes, it's called NetAuthAgent. You can tell I've had this problem before! :(


9

OK, I sussed it out. You can still do it, it's just that the way you do it is based on context rather than using the appropriate command. Basically, to use the virtual display, you need multiple user accounts on the target machine, and you need an account to be already logged into the target machine such that you can login a 2nd time using the virtual ...


9

The answer depends on how you connect to it. If you're using a standard VNC client to connect with a password only, nothing is encrypted. Not even the password. If you're using the Screen Sharing app on macOS 10.8 (Mountain Lion) or later to connect with a username/password or AppleID, everything is encrypted. If you're using the Screen Sharing app on ...


8

Will have to go into system preferences, keyboard, shortcuts, and then assign a specific key to activate Mission Control. You can do this either in your host machine or in the remote one. What matters is that the shortcut for the remote machine is not used in the local machine. You can do the same directly for the ^right and ^left shortcuts. Change them in ...


8

Tricky one, but you can rig up a solution - I'm not sure about the final quality though. First, you need to allow your iPad to use AirPlay Mirroring with your iMac as the target device. To do this, you need to use a program like AirServer ($15 for a single user license) or Reflector ($15 again, but has a trial at least) or AirMac (Free, but not as fully ...


8

To start screensharing: sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.screensharing.plist To stop: sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.screensharing.plist The -w flag modifies the Disabled key as appropriate. It's best to let launchctl handle this, as the location where the config files are stored has changed ...


8

On OS X Yosemite the Screen Sharing app moved to the applications subfolder: /System/Library/CoreServices/Applications


7

Screen Sharing Screen sharing is actually built-in already. Enable "Screen Sharing" in System Preferences -> Sharing on the computer you want to access remotely. Then you can access it from the Finder either by selecting it in the sidebar window or directly via Cmd-K and entering the address vnc://IP-Address or vmc://Bonjour Name.local.


7

Go to System Preferences > Sharing and uncheck the box to the left of "Screen Sharing"


7

Remote login should be allowed (System Preferences -> Sharing -> Remote login). Connect via ssh: ssh user@host Run sudo pkill loginwindow Connect using VNC as usual


6

To enable remote management (including screensharing), issue the following command over ssh: Note: This command sets your vnc password to 'mypasswd' as set by the -vncpw flag in the command, you should change this. sudo /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/kickstart -activate -configure -access -on -clientopts -...


6

You are correct, VNC is a simpler version of Remote Desktop (note: Remote Desktop uses the VNC protocol in addition to adding a lot more features) Remote Desktop offers more management features; ability to black out host computers screen, push updates, file transfers etc (think TeamViewer but by Apple). http://www.apple.com/remotedesktop/ VNC doesnt have ...


6

ssh into the remote Mac and kill the screensharingd daemon. $ ps ax | grep screen 1234 ?? Ss 0:00.02 /System/Library/CoreServices/RemoteManagement/screensharingd.bundle/Contents/MacOS/screensharingd $ sudo kill 1234 It works for me. I have Mac OS X Lion on both local and remote computers.


6

Some (all?) Macs when run without a monitor turn off the video circuitry so they do not waste energy, even though this circuitry is used by screen sharing to dramatically speed up screen stuff. There might be a way to turn this circuitry back on through software, but I have not foud a reliable way to do so. What works very well is to plug in something into ...


6

The three ways to connect are Apple Remote Desktop, ssh and remote Apple Events. If you have one of those enabled, you can kickstart screen sharing with a command line tool: sudo /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/kickstart -activate -configure -access -on -restart -agent -privs -all See these for more details: ...


6

You have to execute this in Terminal: sudo defaults write /Library/Preferences/com.apple.RemoteManagement.plist VNCOnlyLocalConnections -bool yes


6

There are three solutions that I know of that allow you to "black out" the remote screen so that uses cannot see what you are doing: Apple Remote Desktop (ARD). Cost: $79 TightVNC. Cost: Free for personal use. TeamViewer. Cost: Free for personal use ($810 for Business License) As for ARD and VNC, they will do they job, but as far as performance, they ...


6

These are solutions that I found but that do not work for me: UPDATE: The issue finally and miraculously disappeared after updating to macOS 10.12.4. If you run third party applications, such as AirParrot or f.lux, you should try completely uninstalling those, as discussed here. If your mac is 100% headless (i.e. no screen attached), you can either add an ...


6

I couldn't find an answer online so I took to checking for incoming connections and also in the list of active processes so I could find how to fix it. You need to grant Accesibility privileges to AppleVNCServer which you can find under /System/Library/CoreServices/RemoteManagement/AppleVNCServer.bundle/Contents/MacOS/AppleVNCServer


5

OK, managed to find the answer (or, at least, an answer; I'm not quite sure on all the details of this command): $ sudo /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/kickstart -activate -configure -access -on -users admin -privs -all -restart -agent -menu As always - be careful when you paste something into terminal - best ...


5

do a spotlight search on the remote mac with the string "mission control". Works on Yosemite at least


Only top voted, non community-wiki answers of a minimum length are eligible