decoding error message

Rob Mahurin rob at utk.edu
Wed Feb 18 10:19:11 CST 2009


On Feb 17, 2009, at 11:55 PM, asha g wrote:
> --- On Wed, 18/2/09, Jordi Gutiérrez Hermoso <jordigh at gmail.com>  
> wrote:
>> 2009/2/17 asha g <dend_15 at yahoo.com>:
>>> This is the message i get after running it on Octave
>> 3.0
>>>
>>> gnuplot: unable to open display ':0.0'
>>> gnuplot: X11 aborted.
>>
>> Are you sshed into the machine that is running gnuplot? If
>> so, are you
>> X-forwarding properly? Usually all you have to do is
>> something like
>> "ssh asha at remotemachine -X" (notice it's
>> uppercase, not lowercase).
>>
>> - Jordi G. H.
>
> I am on the same machine that I normally use. So no sshing. I did  
> use screen -L for my work as it runs for a long time. Could that be  
> the problem ?


If it is, screen -L xterm will also have problems.  Though I  
sometimes have long-lived X sessions and long-lived shells lose touch  
with each other.

VNC is a good suggestion.  If it's all local, you'd do
$ vncserver :42
$ vncviewer :42 &
$ DISPLAY=:42 screen -L octave

and you have a detachable octave process sending its graphics to a  
detachable X session.

Rob

-- 
Rob Mahurin
Department of Physics and Astronomy
University of Tennessee 		865 207 2594
Knoxville, TN 37996 			rob at utk.edu






More information about the Help-octave mailing list