I have installed gnuplot on Ubuntu with sudo apt install gnuplot-x11, then installed vcxsrv on Windows and run it: vcxsrv
I would then expect that running gnuplot from bash and typing plot sin(x) would produce me a graph, however I receive this error: gnuplot
I should add that I have added those options to zshrc:
export QT_DEBUG_PLUGINS=1export QT_PLUGIN_PATH=/usr/lib/qt/pluginsexport DISPLAY=localhost:0.0export LIBGL_ALWAYS_INDIRECT=YesI have tried many options and solutions, but with no success. Would be very glad for help