We have re-purposed the LCD data pins as GPIO and disabled the display by adding our own device tree.
But now we have lost the X11VNC server as the X server will not start because it cannot find a screen.
As a solution , we thought that we will use xvfb (X virtual framebuffer). but it seems that the Xvfb is not available in the default xorg-xserver. Also it is not available as a separate package.Any suggestion is highly appreciated.
We are using our own carrier board. The base image we are using is Colibri-iMX7-eMMC_LXDE-Image-Tezi_2.8b6. And we are building it from the source. I will have a look into the link you have pointed to.
Please let me know if you need the snippet of our dts file and local.conf file. I will share them here.
I think I found a solution. I have noticed that bitbake build the binary Xvfb but somehow it does not pack in the root file system. So I have manually copied the binary to the emmc root file system. Now I can run a virtual display as Xvfb :1 -screen 0 1024x768x16 ( this creates a virtual display : 1) and now I can use x11vnc. Only problem is occasional screen flickering . We can marked this thread as solved now.