Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.graphics.apps.gnuplot > #2781 > unrolled thread
| Started by | Erik Zweigle <erikzweigle@gmail.com> |
|---|---|
| First post | 2015-02-22 16:20 -0800 |
| Last post | 2015-02-28 12:31 -0800 |
| Articles | 3 — 2 participants |
Back to article view | Back to comp.graphics.apps.gnuplot
Point Gnuplot to X11 Erik Zweigle <erikzweigle@gmail.com> - 2015-02-22 16:20 -0800
Re: Point Gnuplot to X11 Hans-Bernhard Bröker <HBBroeker@t-online.de> - 2015-02-24 00:44 +0100
Re: Point Gnuplot to X11 Erik Zweigle <erikzweigle@gmail.com> - 2015-02-28 12:31 -0800
| From | Erik Zweigle <erikzweigle@gmail.com> |
|---|---|
| Date | 2015-02-22 16:20 -0800 |
| Subject | Point Gnuplot to X11 |
| Message-ID | <b25a4ce1-f800-490a-8e06-0e1aa59c2fd6@googlegroups.com> |
Hello, I've recently tried using the X11 terminal for 3D interactive options. This worked ~2 years ago but I've only had a need for aqua term until now. Below is the message I receive: gnuplot> set term x11 Terminal type set to 'x11' Options are ' nopersist enhanced' gnuplot> gnuplot: unable to open display '/private/tmp/com.apple.launchd.E35rye5Llh/org.macosforge.xquartz:0' gnuplot: X11 aborted. It seems that gnuplot is looking for X11 in a temporary file that has been erased. I decided to upgrade gnuplot to 5.0.0 and point it to the correct X11.app location in /Applications/Utilities/ . I modified line 294 of the makefile but still receive the same message - 'unable to open display'. X11 libraries are linked properly. Any ideas? I should also mention that I updated XQuartz to 2.7.7 and point any applications looking for XQuartz to X11. But that didn't help. Also, x11 is a visible option when checking available terminals within gnuplot.
[toc] | [next] | [standalone]
| From | Hans-Bernhard Bröker <HBBroeker@t-online.de> |
|---|---|
| Date | 2015-02-24 00:44 +0100 |
| Message-ID | <cl1saiFb1puU1@mid.dfncis.de> |
| In reply to | #2781 |
Am 23.02.2015 um 01:20 schrieb Erik Zweigle: > gnuplot: unable to open display > '/private/tmp/com.apple.launchd.E35rye5Llh/org.macosforge.xquartz:0' > It seems that gnuplot is looking for X11 in a temporary file that has > been erased. I'm afraid you're rather completely misunderstanding that message. That's not a file it's looking for. It's a DISPLAY. Those would usually be not a file, but rather an (abbreviated) IP address / hostname plus some X11-specific extension. The usual shortest form is ":0", which is equivalent to "the first display on localhost". The exact form to be used is a property of your X11 server. You _are_ running one, I hope? | I decided to upgrade gnuplot to 5.0.0 and point it to the correct > X11.app location in /Applications/Utilities/ . I modified line 294 > of the makefile but still receive the same message No wonder. DISPLAY is not something to be set in Makefiles. You set that in your environment, to tell X11 programs where their display is to show up.
[toc] | [prev] | [next] | [standalone]
| From | Erik Zweigle <erikzweigle@gmail.com> |
|---|---|
| Date | 2015-02-28 12:31 -0800 |
| Message-ID | <bdacae03-2715-4c6a-a1d9-c9e9f7e6deb8@googlegroups.com> |
| In reply to | #2783 |
> The exact form to be used is a property of your X11 server. You _are_ > running one, I hope? Not sure when I lost it, but a sudo port install xorg-server followed by logout/login fixed everything. Thanks!
[toc] | [prev] | [standalone]
Back to top | Article view | comp.graphics.apps.gnuplot
csiph-web