title: Gazebo GUI Not Showing Up when running WSL2 Graphics on Windows 11
body: <p>I am attempting to use ROS with the Gazebo GUI. I recently upgraded to Windows 11 for the WSL GUI support and have the gedit GUI working. However, when I run the command <code>$ gazebo</code>, the GUI does not open.</p>
  <p>Running <code>$ gazebo --verbose</code> gives the following error messages</p>
  <pre><code>[Err] [RenderEngine.cc:749] Can't open display: :0
  
  [Err] [GuiIface.cc:124] This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem. 
  
  Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, xcb.
  </code></pre>
  <p>After enabling the QT Debug environment variable using export <code>export QT_DEBUG_PLUGINS=1</code> and rerunning the gazebo command with the verbose option set, It shows me</p>
  <pre><code>[Dbg] [GuiIface.cc:112] Got keys from plugin meta data (&quot;xcb&quot;)
  [Dbg] [GuiIface.cc:112] QFactoryLoader::QFactoryLoader() checking directory path &quot;/usr/bin/platforms&quot; ...
  [Dbg] [GuiIface.cc:112] loaded library &quot;/usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqxcb.so&quot;
  </code></pre>
  <p>I believe that I have all of the necessary packages installed from this output, so I am wondering why gazebo is not showing up. I have tried uninstalling/reinstalling gazebo to no avail.</p>
  <p>Thank you so much for your time. If I get this problem sorted out, I will post. Please let me know if any other system/output information is needed.</p>
  <p>Other information:
  I am not using X Server because the Windows 11 upgrade does not require it for graphical WSL  applications (but did try it with X Server installed just in case)</p>
  <p>I have tinkered around with the ~/.bashrc profile. DISPLAY=0:0 option was set, but I deleted  this because Windows 11 did not need it (or so I think?)</p>