Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

6
  • 7
    This was the problem for me even using Windows Services for Linux. Commented Oct 3, 2017 at 9:27
  • 2
    On which server did you run the export ... command? 1) local machine 2) server Commented May 24, 2018 at 4:27
  • 1
    @abalter It worked for me running it on the local machine Commented Jul 21, 2018 at 3:21
  • 4
    I spent 2 hour debugging issue with Cygwin ssh + VcXsrv because I set DISPLAY=:0 ssh -Y $host. Changing it to DISPLAY=localhost:0 magically solved problem. Commented Oct 2, 2018 at 20:00
  • 2
    Indeed, export DISPLAY=localhost:0.0 in ~/.bashrc is the way to go for WSL Commented Apr 17, 2019 at 18:28