<div dir="ltr"><div>All,</div><div>  I am new to gstreamer. I have a machine with i7-8656u with Ubuntu 18.04 LTS and it is inside a lab with no monitor. So, I am running VNC (vnc4server) to connect to it. I am trying to run gstreamer video analytics example from <a href="https://github.com/opencv/gst-video-analytics">https://github.com/opencv/gst-video-analytics</a> on this machine. I have followed all the steps and installed all the dependencies. When I try to run first sample,  It fails at xvimagesink. So, when I do "xvinfo" I get:<br>X-Video Extension version 2.2<br>screen #0<br> no adaptors present</div><div><br></div><div>I guess this is because VNC uses virtual display. To test this I do:</div><div><b>gst-launch-1.0 videotestsrc ! videoconvert ! autovideosink</b></div><div><b><br></b></div><div>It shows test video and works fine. When I setup required environmental variables for GVA, the same command crashes. Further debug shows, the environment variable GST_VAAPI_ALL_DRIVERS is making difference. When it is unset, autovideosink seem to pickup kmssink and when GST_VAAPI_ALL_DRIVERS is set, it seems to pickup vaapisink and that is causing crash. <br></div><div><br></div><div>I am not sure how to proceed further. If anyone is successful in running GVA samples successfully on VNC session, please let me know who it was done? <br></div><div><br></div><div>Any pointers to get over this will help me progress.</div><div><br></div><div>thanks and regards,</div><div>Ravi<br></div><div><b></b></div></div>