|
Posted
over 6 years
ago
by
Paul Greninger
The following program plots with a red background in terminal mode, which is misleading, while an output file does not. In the enclosed file, to create a Postscript file, make the comment statements SET_PLOT, 'PS" and Device, /portrait, /color, filename=title1 program statements, by removing the ";" in front of the program statements.
|
|
Posted
over 6 years
ago
by
Paul Greninger
Launch the GUI with the command startx in a terminal window.
|
|
Posted
over 6 years
ago
by
Paul Greninger
The fix to this problem is you have to start the GUI first, then run GDL through a terminal window.
|
|
Posted
over 6 years
ago
by
Paul Greninger
Thanks, again. I set DISPLAY=:0 . Still no work. I see what you mean now by saying do any other x programs work. Programs startx, and xev work, rest do not like xeyes, xfd, xload. Does this change anything On Sat, Apr 20, 2019 at 2:13 PM Orion
|
|
Posted
over 6 years
ago
by
Orion Poplawski
Typically this is set to ":0" for local display. No idea why what would not be set unless you are connecting via ssh. But in any case you have a more fundamental display issue that is not an issue with GDL.
|
|
Posted
over 6 years
ago
by
Paul Greninger
Thanks for getting back to me. DISPLAY wasn't set to anything. I set it to 0.0 . Problem still persists. Regarding do other X program work I have a more complicated plot program, but it doesn't work (if this is what you mean) so I thought I give it
|
|
Posted
over 6 years
ago
by
Orion Poplawski
What is your DISPLAY environment variable set to? Do other X programs work?
|
|
Posted
over 6 years
ago
by
Paul Greninger
This program used to work. It now says, "Cannot connect to X server." Using epel-release-latest-7.noarch for GDL, CentOs 7, VirtualBox 6.0.4 pro test orig=sin((findgen(200)/35)^2.5) plot,orig END
|
|
Posted
over 6 years
ago
by
Paul Greninger
Got it thanks! On Mon, Apr 15, 2019 at 3:39 PM Orion Poplawski [email protected] wrote: Don't do that. Enable the EPEL repo and then 'yum install gdl'. Trouble installing GDL CentOS 7
|
|
Posted
over 6 years
ago
by
Orion Poplawski
Don't do that. Enable the EPEL repo and then 'yum install gdl'.
|