Re: Cannot open display on server

From: Date: Tue, 17 Jun 2008 11:31:39 +0000
Subject: Re: Cannot open display on server
References: 1 2  Groups: php.gtk.general 
Request: Send a blank email to php-gtk-general+get-8277@lists.php.net to get a copy of this message
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 --

« previous php.gtk.general (#8277) next »