On Fri, Nov 08, 2002 at 05:48:35PM +0000, Hakeem Ogunleye <hakmar34@xxxxxxxxxxx> wrote: > scripts run when i execute it form the command line but when i run it from > a browser it doesn't work. the error_log shows: Have you tried ./scriptname -v? that will most likely tell you that gimp can't open the display. Make sure your script has access to a valid DISPLAY (e.g. set $ENV{DISPLAY} ina BEGIN block), e.g. by running an Xserver (Xvfb works nicely). > I have searched the newsgroups and found that this problem is quite common > but no one has provided a solution. Maybe search any gimp mailinglist archives, write a FAQ and thus help others who will, no doubt, have this problem in the future ;-> -- -----==- | ----==-- _ | ---==---(_)__ __ ____ __ Marc Lehmann +-- --==---/ / _ \/ // /\ \/ / pcg@xxxxxxxx |e| -=====/_/_//_/\_,_/ /_/\_\ XX11-RIPE --+ The choice of a GNU generation | |