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
6 comments:
Thanks. This worked.
I also had to run the following command to get it to work:
sudo defaults write /Library/Preferences/com.apple.RemoteManagement VNCLegacyConnectionsEnabled -bool true
Thank you for sharing this, using your command and the extra option from the comments resolved my connection problems. Greatly appreciated.
THANK YOU this works!!!! I put in both defaults writes right off the bat
Is now saying 'Command not found' on High Sierra 10.13.6
Since realised the Mac login name had changed - so it's working after all now.
Oops, that was me above, didn't realise I had to log in anew for every single comment I add.
To reiterate, it's back up and working now.
Post a Comment