<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /></head><body style='font-size: 10pt; font-family: Verdana,Geneva,sans-serif'>
<p>Hi Giovanni,</p>
<p>As far as I know, the X-Server is still necessary - also in QGIS Server 3.x</p>
<p>It is a limitation from the qt library, not from QGIS.</p>
<p>The other thing to check is the LD_LIBRARY_PATH - if it is correctly defined.</p>
<p>Greetings,</p>
<p>Andreas</p>
<p>On 2018-11-02 13:20, Giovanni Manghi wrote:</p>
<blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0"><!-- html ignored --><!-- head ignored --><!-- meta ignored -->
<div class="pre" style="margin: 0; padding: 0; font-family: monospace">Hi Andreas, thanks for the reply.<br /> <br /> I'm on Ubuntu Server headless, is the (fake) XServer mandatory?<br /> <br /> On QGIS Server 2.18 the fake xserver (in headless Linux) was necessary<br /> for the GetPrint requests to work when composers had certain<br /> elements/objects.<br /> <br /> I was under the assumption that with QGIS Server 3 this bug (I always<br /> considered it a a bug, bacause in QGIS Server < 2.18 this was not<br /> necessary) was solved. Or maybe you are referring to something<br /> different?<br /> <br /> Cheers!<br /> <br /> -- G --<br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> On Fri, Nov 2, 2018 at 12:13 PM Andreas Neumann <<a href="mailto:a.neumann@carto.net">a.neumann@carto.net</a>> wrote:
<blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0"><br /> Hi Giovanni,<br /> <br /> Is the X-Server/VNC server running and the DISPLAY variable configured?<br /> <br /> Greetings,<br /> <br /> Andreas<br /> <br /> On 2018-11-02 13:10, Giovanni Manghi wrote:<br /> <br /> Hi all,<br /> <br /> are there any known issues with QGIS Server 3.4 (on Ubuntu 18.04 here)?<br /> <br /> I'm trying to test it as I would do with a QGIS Server 2.*<br /> installation and it does not work here:<br /> <br /> trying a simple GetCapabilities (via Apache2) on a sample project I<br /> always get error 500 ("End of script output before headers:<br /> qgis_mapserv.fcgi" in the Apache log).<br /> <br /> Directly from the CLI I noticed that qgis_mapserv.fcgi returns an<br /> error if the project file is specified by using an absolute/relative<br /> path (it works only if calling qgis_mapserv.fcgi from within the<br /> folder where a project file is).<br /> <br /> Any hint?<br /> <br /> thanks in advance<br /> <br /> -- G --<br /> _______________________________________________<br /> QGIS-Developer mailing list<br /> <a href="mailto:QGIS-Developer@lists.osgeo.org">QGIS-Developer@lists.osgeo.org</a><br /> List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" target="_blank" rel="noopener noreferrer">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br /> Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" target="_blank" rel="noopener noreferrer">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br /> <br /> </blockquote>
</div>
</blockquote>
<p><br /></p>

</body></html>