I have installed the Ubuntu extension for Windows, but I run into troubles when I want to use gnuplot... I am just trying to plot a simple data file, but I get the following error :
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-julien_barbaud'
qt.qpa.screen: QXcbConnection: Could not connect to display
Could not connect to any X display.
Could not connect to existing gnuplot_qt. Starting a new one.
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to
'/tmp/runtime-julien_barbaud'
qt.qpa.screen: QXcbConnection: Could not connect to display
Could not connect to any X display.As you may guess, I am not veryfamiliar with this problem. Is there Something I should set up in my environment to fix this ?
EDIT: after the suggestion in comments, I tried to use set term postscript. The output is different, but still no plot...
And after trying set term png, the plot command gives me this:
2 Answers
I could solve my problem by downloading Xming on my Windows system, so that linux can access X11 The qt terminal works well in this condition.
Thanks for the help !
2Add
libmali-xlnx
libmali-xlnx-dev
packagegroup-petalinux-x11-devin rootfs configure.
Then execute
killall Xorg (no need when running Xorg for the first time).
Finally run
export DISPLAY=:0.0
/usr/bin/Xorg -depth 16&and then run the qt project.