This is based on my experience with a Raspberry pi 3 running Raspbian Jessie.
select 7 Advanced Options
select A4 SSH
You’ll be asked if you want enable SSH Select Yes.
ssh pi@<YOUR Raspberry Pi IP ADDRESS>
sudo apt-get install tightvncserver
sudo leafpad tightvnc.desktop
server address is IP-Address-of-Your-pi:1 (note :1 which defines display 1)
Username is pi
Password is: whatever you set for Tightvnc
sudo apt-get install x11vnc
cd /home/picd .config
mkdir autostart [You can miss this step if you’ve already created the directory]
cd autostartsudo leafpad x11vnc.desktop
Exec=x11vnc -forever -usepw -display :0 -ultrafilexfer
Note: If you created an autostart file for TightVNC as above, then remember to either remove this file from the autostart directory or delete it, otherwise when you reboot your pi it will try and start both TightVNC and X11VNC.
You should now be able to connect to your Raspberry pi using your VNC client with the IP address of your pi (without the :1) and it should display the same output as the Rasperry pi HDMI monitor.
This is the personal web site of Seòras, pronounced Shaw-russ, Gaelic for George. I'm from Aberdeen (Scotland),I'm a scientist, union activist, researcher, web designer, photographer, cyclist, hill walker, guitarist & father.