pylab without X11



I want to use pylab (matplotlib) on a machine without X11. I'm trying to generate onthefly graphics for an apache2 web service, so they do not have to be displayed on this machine !

When i do
pylab.figure()
I get the error
TclError: couldn't connect to display ":0.0"

I tried setting the DISPLAY environment variable to "", ":0.0" but I got the same error message.

Any help is very much appreciated.
.



Relevant Pages

  • Re: pylab without X11
    ... in your script: ... generate onthefly graphics for an apache2 web service, so they do not have to be displayed on this machine! ... I tried setting the DISPLAY environment variable to "", ":0.0" but I got the same error message. ...
    (comp.lang.python)
  • Re: Graphical Remote Login without XDMCP
    ... Torsten Kaiser wrote: ... As if no connection was establihed at all. ... error message I get is "Could not connect to netbook:0". ... kdmrc and other X11 related files on your laptop (maybe ...
    (alt.linux)
  • problem with X11
    ... I have installed X11 on my mac book pro and it seems working. ... It returns me the following error message ... Error: Can't open display::0 ...
    (comp.sys.mac.system)
  • Re: [SLE] installing a webcam
    ... this is the error message I get now... ... log in to X11 as the root user and try it. ... "...pleasure is a grace and is not obedient to the commands ...
    (SuSE)