« Return to Thread: Cannot open display on server

Re: Cannot open display on server

by Malk0 :: Rate this Message:

Reply to Author | View in Thread

you may have a look at xvfb but you will certainly need to give the
correct rights to the user that execute the script (probably apache or
nobody i gess)
hope this help,

best regards,

nathan

On Mon, Jun 16, 2008 at 10:58 AM, Christian Weiske <cweiske@...> wrote:

> Hello Kasper,
>
>
>> I am writing a server/client-application, which does not use any kind
>> of Gtk-windows or anything like that.
>>
>> However I am using the gtk-lib to handel events from sockets and
>> stuff like that. The application is working, but I am unable to use
>> it on a server with no X-server installed.
>
> As soon as you use the php-gtk extension, the underlying classes try to
> connect to the X server. There is nothing we can do about this.
>
> Short: no php-gtk on x-less environments.
>
>
>
> --
> Regards/Mit freundlichen Grüßen
> Christian Weiske
>



--
-- le savoir ne vaut que s'il est partagé par tous --

--
PHP-GTK General Mailing List (http://gtk.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

 « Return to Thread: Cannot open display on server

LightInTheBox - Buy quality products at wholesale price!