title: WSL run linux from windows without spawning a cmd-window
body: <p>I have WSL bash running in a cmd. I don't use it for anything, it just hangs there to keep the WSL system alive.</p>
  
  <p>When I start X applications:</p>
  
  <pre><code>bash -c "DISPLAY=:0 xmessage hello &amp;"
  </code></pre>
  
  <p>I get this result:</p>
  
  <p><a href="https://i.stack.imgur.com/yjOsj.png" rel="noreferrer"><img src="https://i.stack.imgur.com/yjOsj.png" alt="enter image description here"></a></p>
  
  <p>I can close down the command window without any problems, but it's rather annoying.</p>
  
  <p>How can run commands without getting this cmd window every time?</p>