I am working on a minimal rootfs based on buildroot. This error is solved for me after I have included the package "twm" in my rootfs. Then after the board is up I run following commands on the terminal:
export DISPLAY=:0
startx &
then run vlc
vlc
This way I got rid of this error.