Quantcast
Channel: Active questions tagged windows-subsystem-for-linux - Ask Ubuntu
Viewing all articles
Browse latest Browse all 2796

Run Graphical Programs in WSL2

$
0
0

I hear that WSL2 has support for graphical programs.

I tried to run this on my ubuntu WSL installation (from rosetta code)

from PIL import Imageimg = Image.new("RGB", (320, 240))pixels = img.load()pixels[100, 100] = (255, 0, 0)img.show()

but my computer just beeps at me.

I have tried searching online for this but I keep getting articles from 2018 about setting up a 2018 X server or something.

Please help,Thank you


Viewing all articles
Browse latest Browse all 2796

Trending Articles