Andrei Simion <[EMAIL PROTECTED]> writes:

> I managed to start X:
> Xvfb :1.0 -screen 0 10x10x16
> So, the display is 1.
> Now, I start the Gimp server:
> gimp --display 1 --no-interface

You cannot combine --display and --no-interface. If you don't want any
user interface, then you don't need a display.

> I took the display option out of the startup command and the gimp
> server started. But, when I was running a script I got the same error
> as when I started the Gimp server without the X:
> 1117560504: accepted tcp connection from
> Gtk-WARNING **: cannot open display:   at
> /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/Gimp.pm line
> 264.
> 1117560504: closing connection 11 (1 requests in 0 seconds)

What about setting the DISPLAY environment variable for the perl
server (if it really needs a display) ?

Gimp-developer mailing list

Reply via email to