Hi pcg Marc,
Thanks a lot for your reply. Tried what you suggested but still could not get it to work. Got some error message like "Cannot locate Gimp.pm at @INC .....".
The following are the exact steps i did:
1.setenv GIMP_HOST password@xxxxxxx on server box A(where the gimp, perl,gtk etc are installed);
2.start gimp perl server on server box A;
3.setenv GIMP_HOST password@xxxxxxx on client box B;
4.start the script on client box B;
I am sure that the script works fine locally on server box A and there is no firewall issue between box A and B. Any insights will be very appreicated.
TIA
From: <pcg( Marc)@goof(A.).(Lehmann )com> To: forest monk <monkforest@xxxxxxxxxxx> CC: gimp-developer@xxxxxxxxxxxxxxxxxxxxxx Subject: Re: [Gimp-developer] how to make Gimp::Perl script work remotely? Date: Fri, 27 Sep 2002 00:47:05 +0200
On Thu, Sep 26, 2002 at 02:56:06PM +0000, forest monk <monkforest@xxxxxxxxxxx> wrote:
> through networking. Say, If i start a gimp perl server on a server machine,
> what should i do to be able to execute the script on a remote machine?I
> searched online resources and found that on server side, i need to setenv
> GIMP_HOST to [auth@][tcp/]hostname[:port] for tcp support, but what should
> i do on client side? do i need to install some client tools on the box or
> should i modify my script to include gimp::net module?
Just the same, i.e. use sth. like this:
GIMP_HOST=password@xxxxxxxx
and start the server, and then do the same on the client and start the perl script. You shouldn't need to modify your script, although modifying it can make some things easier (program structure can be much freeer, as you can decide when to conenct and disconnect).
-- -----==- | ----==-- _ | ---==---(_)__ __ ____ __ Marc Lehmann +-- --==---/ / _ \/ // /\ \/ / pcg@xxxxxxxx |e| -=====/_/_//_/\_,_/ /_/\_\ XX11-RIPE --+ The choice of a GNU generation | |
_________________________________________________________________
Join the world?s largest e-mail service with MSN Hotmail. http://www.hotmail.com