Hello,
under Ubuntu20.04 LTS on a WSL2 system I have the problem that gnuplot does not open the plot windows. as exemple:
$ gnuplot
G N U P L O T
Version 5.2 patchlevel 8 last modified 2019-12-01
Copyright (C) 1986-1993, 1998, 2004, 2007-2019
Thomas Williams, Colin Kelley and many others
gnuplot home: http://www.gnuplot.info
faq, bugs, etc: type "help FAQ"
immediate help: type "help" (plot window: hit 'h')
Terminal type is now 'wxt'
gnuplot> plot sin(x)
but then nothing happens and I need a Ctrl+Z to close gnuplot.
could anyone have an idea what could be wrong ?
many thanks
You need WSL2 with GUI support or a X11 server. See e.g.
https://docs.microsoft.com/en-us/windows/wsl/tutorials/gui-apps
Update: Missed you are already using WSL2. So no idea what is wrong in your case, but it is veryl likely due to your setup and not a gnuplot bug.
Last edit: Bastian Märkisch 2021-07-17