FW: [Image-SIG] Re: rpy and cgi

Daryl Shanley Daryl.Shanley at newcastle.ac.uk
Wed May 28 11:23:06 EDT 2003


This suggestion from Fredrik Lundh worked fine, I'll look into other suggestions later. Thanks for the help, Daryl

you could try adding the following to your CGI script, before you
import/invoke RPy:

    import os
    os.environ["DISPLAY"] = "server:0.0"

where "server" should be replaced with the name of a machine
that has an X server, and that is always running...




More information about the Image-SIG mailing list