Re: [PHP-GTK] Cannot open display on server
[email protected] (malk0) Tue, 17 Jun 2008 13:31:39 +0200
| Newsgroups | php.gtk.general |
|---|---|
| Message-ID | <[email protected]> |
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 <[email protected]> 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 --