title: Error cannot open display Gtk-WARNING with flutter and WSL2
body: <p>I'm trying to run a flutter app with VScode inside of WSL (win11)</p>
  <p>Here's how I setup my vscode and WSL</p>
  <ul>
  <li>Installed dart and flutter plugins for VSCode (installed inside WSL)</li>
  <li>Installed dart and flutter SDK inside of wsl using terminal</li>
  <li>Added the flutter bin folder to PATH</li>
  </ul>
  <p>The error happens when pressing the run/debug button built into the IDE.</p>
  <p>Here is the full error;</p>
  <pre><code>Downloading linux-x64/linux-x64-flutter-gtk tools...
  Downloading linux-x64-profile/linux-x64-flutter-gtk tools...
  Downloading linux-x64-release/linux-x64-flutter-gtk tools...
  Launching lib/main.dart on Linux in debug mode...
  lib/main.dart:1
  (flutter_application_1:373): Gtk-WARNING **: 23:32:28.406: cannot open display:
  Error waiting for a debug connection: The log reader stopped unexpectedly, or never started.
  Error launching application on Linux.
  Exited (sigterm)
  </code></pre>
  <p>Is there any suggested fix for the following?</p>