Menu

#2436 not opening plot under ubuntu20.04 LTS / WSL2

None
closed-not-a-bug
nobody
None
2022-02-10
2021-04-16
Anonymous
No

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

Discussion

  • Bastian Märkisch

    • status: open --> open-not-a-bug
    • Group: -->
    • Priority: -->
     
  • Bastian Märkisch

    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
  • Ethan Merritt

    Ethan Merritt - 2022-02-10
    • Status: open-not-a-bug --> closed-not-a-bug
     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.