<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Jun 10, 2021 at 2:48 PM pathmapper <<a href="mailto:pathmapper@posteo.de">pathmapper@posteo.de</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi,<br>
<br>
I would like to use processing from the command line <br>
(<a href="https://docs.qgis.org/3.16/en/docs/user_manual/processing/standalone.html" rel="noreferrer" target="_blank">https://docs.qgis.org/3.16/en/docs/user_manual/processing/standalone.html</a>) <br>
on the same Ubuntu machine where QGIS server is running:<br>
<br>
Every information I did find so far says to install QGIS Desktop to have <br>
qgis_process available, but the training manual states:<br>
<br>
"QGIS Server should be used in production without QGIS Desktop (with the <br>
accompanying X Server) installed on the same machine."<br>
<br>
Source: <br>
<a href="https://docs.qgis.org/3.16/en/docs/training_manual/qgis_server/install.html#moderate-fa-install-from-packages" rel="noreferrer" target="_blank">https://docs.qgis.org/3.16/en/docs/training_manual/qgis_server/install.html#moderate-fa-install-from-packages</a><br>
<br>
Is this recommendation still valid, and if yes, why?<br></blockquote></div><br><div>That recommendation has never been valid from a technical point of view.</div><div><br></div><div>That said, it is not common nor recommended to perform common desktop operations on a production server, I've seen only a single example of such weird promiscuity in my whole career, in particular, that was a guy working for a public administration and the production server was his personal computer standing on his desktop.</div><div><br></div><div>For this reason all the documentation you will find assumes that the server is running on a headless server without X-Window running because that's what you will normally find with only a few very rare exceptions and it is not wise to do differently.<br></div><div><br></div><div>I don't know how qgis_process is packaged but I don't see a reason why it would not run under the same server setup, it will just probably require xvfb-run before calling it.</div><div><br></div><div><br></div><div>-- </div><div dir="ltr" class="gmail_signature"><div dir="ltr"><div>Alessandro Pasotti</div><div>QCooperative:  <a href="https://www.qcooperative.net" target="_blank">www.qcooperative.net</a><br></div>ItOpen:   <a href="http://www.itopen.it" target="_blank">www.itopen.it</a></div></div></div>