Re: setenv DISPLAY fix not working with X Widonws display problem... [message #82499] |
Wed, 19 December 2012 15:00  |
Mats Löfdahl
Messages: 263 Registered: January 2012
|
Senior Member |
|
|
Den onsdagen den 19:e december 2012 kl. 23:29:56 UTC+1 skrev cjarv...@gmail.com:
> Yes, and it still returns the same error when I run a simple plot. Is there some other syntax that I'm missing like a comma somewhere?
Since you have to deal with the DISPLAY variable in the first place, you are logged in remotely to the machine where you are running IDL, right? And the <IP address> you are setting the DISPLAY variable to, that's the IP address of the machine the screen of which you are sitting by?
Then, how did you log in remotely? A long time ago, when people used telnet, you actually had to deal with the DISPLAY variable. Nowadays, when you are more likely to use ssh, you don't do that. You use ssh with the -X flag instead. Of course, your local machine (the one with the screen) still has to have an X server.
|
|
|