0

I keep getting the

xterm: Xt error: cannot connect to X server:[:0] 

error trying to run PGPLOT function. I am running xmings and putty with X11 forwarding enabled.

I have tried echo $DISPLAY and xterm, I did get the same IPs for $DISPLAY but I faced the error:

xterm: Xt error: Can't open display:[:0].

I am using windows 11

4
  • 1
    Sorry, but Stackoverflow is dedicated to help solve if/then/else programming code problems. Please delete here and post to Super User. Good luck.
    – shellter
    Commented May 24, 2023 at 23:26
  • Please provide enough code so others can better understand or reproduce the problem.
    – Community
    Commented May 25, 2023 at 1:30
  • How do you set DISPLAY locally, and how do you set DISPLAY on the server? Commented May 25, 2023 at 4:14
  • What is DISPLAY set to on the host where you're getting the Xt error?
    – Kenster
    Commented May 25, 2023 at 13:12

0

You must log in to answer this question.

Browse other questions tagged .