I have waited a few weeks since my first attempt at this and today a brand new Sandisk 16GB card arrived.
Got latest Stretch image. Burned to card on PC (Win32Disk imager).
Connected Pi 2B to HDMI on TV, keyboard and mouse.
Did a dist-upgrade, installed x11vnc and set up X11VNC to use 1920 * 1080
Unplugged from TV, KBD and MOUSE.
Connect in using TightVNC on my PC.
Set a Samba share to Win10.
Installed lxml, xdotool and pushbullet (phone notifications).
Copied my (working on this Pi with the previous Jessie SD card) python apps into my home/pi/MarkH folder. Ran no problem.
Oh - the time is wrong (seems to be a common issue with my Pi's) so opened Preferences menu to check/adjust.
My WIn10 tightvnc connection then "closed down gracefully" as it put it.
The Pi is still running and accessible from the Win10 share.
This is exactly the same issue I faced a few weeks ago. Random crashing? of the X11VNC server?
Can anyone help me out here please before I tear what remaining hair I have out.
These are the steps I have always used to install X11VNC...
sudo apt-get install x11vnc
Create/edit the VNC start-up configuration file, stored in your home directory:
# Start X11VNC
x11vnc -bg -nevershared -forever -tightfilexfer -usepw -display :0
Make the file executable:
chmod 775 ~/.xsessionrc
sudo nano /boot/config.txt
Set the following line to force HDMI to be the only detected connection, i.e. disable the analogue video default:
Set the HDMI “group” and “mode” number to select the default resolution. You can find these codes on Wikipedia or internet searches. To start with, a couple of useful modes:
Full HD 1920×[email protected]