In case this helps... I had two major issues with VNC under Ubuntu 18.04.2 with H2
Sharing here if anybody finds it useful:
1. The forced encryption with the Ubuntu VNC server doesn't let you log in.
To fix this, simply disable the encryption, but there's no easy way to do this with the installed GUI options.
This fix is sourced from https://www.hagensieker.com/wordpress/2 ... ntu-18-04/
Open Ubuntu Software and install:
Open the app,
Now navigate to:
ORG > GNOME > DESKTOP > REMOTE ACCESS
Then find the “Require Encryption” setting and toggle it off:
Fastest terminal fix:
Thanks to crashoverride
2. If no HDMI device attached, after restarts the VNC client connects to a blank screen
sudo apt install xserver-xorg-video-dummy xorg-video-abi-23 xserver-xorg-core
sudo wget -P /etc/X11 https://gist.githubusercontent.com/mang ... /xorg.conf
You will be then able to connect to the VNC server without a display attached.