title: Gnuplot in Cygwin won't display terminal output ( failed to get the current screen resources qt.qpa.xcb.xcberror: QXcbConnection: XCB error...)
body: <p>I am running cygwin on a windows 10 and within it gnuplot.</p>
  <p>What I want to do is running gnuplot interactively via the qt-terminal.</p>
  <p>Since I did this I got this message:</p>
  <p>&quot;XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-user'
  failed to get the current screen resources
  qt.qpa.xcb.xcberror: QXcbConnection: XCB error: 170 (Unknown), sequence: 170, resource id: 90, major code: 146 (Unknown), minor code: 20
  Could not connect to existing gnuplot_qt. Starting a new one.
  QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-user'
  failed to get the current screen resources &quot;</p>
  <p>I tried setting the environament variable to some path, but this didn't solve anything, since the path of course doesn't contain those juicy screen ressourrces.</p>
  <p>The error message then reads:  ``failed to get the current screen resources
  qt.qpa.xcb.xcberror: QXcbConnection: XCB error: 170 (Unknown), sequence: 170, resource id: 90, major code: 146 (Unknown), minor code: 20''</p>
  <p>Thanks for reading.</p>