title: How to set "X11 DISPLAY variable was set"?
body: <p>I'm trying to remote into my raspberry with netbeans in Windows 10, but there is a report like this picture. I have received the following error, and I do not understand it. I see that some X11 DISPLAY variable needs to be set, but what value should I give it and how? I ever to trying with XMING but still same.</p>
  <p>How can I fix this?</p>
  <blockquote>
  <p>Connecting to 192.168.137.75:22
  cmd : cd '/home/pi/NetBeansProjects//Gcrypt'; '/usr/bin/java'  -Dfile.encoding=UTF-8   -jar /home/pi/NetBeansProjects//Gcrypt/dist/Gcrypt.jar
  Exception in thread &quot;AWT-EventQueue-0&quot;
  java.awt.HeadlessException:
  No X11 DISPLAY variable was set, but this program performed an operation which requires it.
  at <code>java.awt.GraphicsEnvironment.checkHeadless</code>(GraphicsEnvironment.java:204)
  at <code>java.awt.Window.&lt;init&gt;</code>(Window.java:536)
  at <code>java.awt.Frame.&lt;init&gt;</code>(Frame.java:420)
  at <code>java.awt.Frame.&lt;init&gt;</code>(Frame.java:385)
  at <code>javax.swing.JFrame.&lt;init&gt;</code>(JFrame.java:189)
  at <code>gui.Main.&lt;init&gt;</code>(Main.java:21)
  at <code>gui.Main$4.run</code>(Main.java:162)
  at <code>java.awt.event.InvocationEvent.dispatch</code>(InvocationEvent.java:311)
  at <code>java.awt.EventQueue.dispatchEventImpl</code>(EventQueue.java:756)
  at <code>java.awt.EventQueue.access$500</code>(EventQueue.java:97)
  at <code>java.awt.EventQueue$3.run</code>(EventQueue.java:709)
  at <code>java.awt.EventQueue$3.run</code>(EventQueue.java:703)
  at <code>java.security.AccessController.doPrivileged</code>(Native Method)
  at <code>java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege</code>(ProtectionDomain.java:76)
  at <code>java.awt.EventQueue.dispatchEvent</code>(EventQueue.java:726)
  at <code>java.awt.EventDispatchThread.pumpOneEventForFilters</code>(EventDispatchThread.java:201)
  at <code>java.awt.EventDispatchThread.pumpEventsForFilter</code>(EventDispatchThread.java:116)
  at <code>java.awt.EventDispatchThread.pumpEventsForHierarchy</code>(EventDispatchThread.java:105)
  at <code>java.awt.EventDispatchThread.pumpEvents</code>(EventDispatchThread.java:101)
  at <code>java.awt.EventDispatchThread.pumpEvents</code>(EventDispatchThread.java:93)
  at <code>java.awt.EventDispatchThread.run</code>(EventDispatchThread.java:82)</p>
  </blockquote>