Thursday, May 30, 2019

Fixed: x2vnc not working with Mac OS X

(from the Wow - this was obscure department)

Hi everyone,

If you're trying to control your Mac OS X screen from your Linux box using x2vnc and the built-in Mac OS Screen Sharing server, and it's not working - or has stopped working - I finally figured out why.

It's because the Mac now adds a small security screen during an unencrypted VNC login.

To get around this, you need to bypass this screen so that VNC goes to the currently logged-in user.

This is done via this command:

sudo defaults write /Library/Preferences/com.apple.RemoteManagement VNCAlwaysStartOnConsole -bool true

Be aware that this bypasses some added security, so use this carefully.  

Cheers,
Paul