[prev in list] [next in list] [prev in thread] [next in thread] 

List:       php-gtk-general
Subject:    Re: [PHP-GTK] Cannot open display on server
From:       malk0 <malk0.phpgtk () gmail ! com>
Date:       2008-06-17 11:31:39
Message-ID: 7f4374680806170431m2b196286w729354120055449a () mail ! gmail ! com
[Download RAW message or body]

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@cweiske.de> 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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic