I've been using this remote desktop solution several years ago, but seems to be a problem with the latest Ubuntu. It closes constantly when remote connecting. Hoy can I find where the problem is? Should I search for a .log or something?
I tried with several x11vnc -options and all hangs. And tried the 'apt install lightdm' solutions posted here but didn't work