I'm unable to enable VNC on raspberry pi 3, I've tried using preference > raspberry Pi configurations and through terminals raspi-config. It shows me that it has successfully enabled VNC, however if I go back to configurations it's back to disabled. Also I'm unable to connect with VNC viewer from my mac.
I've installed vnc server on my raspberry pi with:
sudo apt-get install realvnc-vnc-server
Is there a file somewhere where I can update this manually?