Stream desktop (linux) with FFMPEG to VLC
No need to use ffmpeg here:

Open VLC, go to Media > Open Capture Device and set Capture Mode to Desktop

Also see:


https://wiki.videolan.org/Documentation:Modules/screen/
https://wiki.videolan.org/Documentation:Command_line/#Desktop.2FScreen_grab_options