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
You can use this setup protocol and repeated here. It works pretty well. I can connect via RealVNC and MAC screen share. The last one doesn't work that well though.