[Qgis-developer] Error : cannot connect to X server on Ubuntu

Matthias Kuhn matthias.kuhn at gmx.ch
Wed Dec 10 12:07:40 PST 2014

I have never run a processing model standalone, so I cannot help there.
I don't know how closely tied this is to GUI related things. It may or
may not work without X. But if you have to create a QgsApplication which
is a QApplication I am pretty sure that you need to have some kind of X
running. So it would be a matter of getting processing to run without
How does hadoop-mapreduce work? Is it not possible to spawn one separate
xvfb-run process per map?

On 12/10/2014 08:58 PM, devquestions2 at gmail.com wrote:
> thanks Matthias,
> Actually this is what i am trying to do.
> i need to calculate wetness index, so i have developed a model in qgis
> graphical modeler that invokes grss-saga algorithsm to calculate slope,
> wetness index etc.
> all i want to do is to run that algorithm in a headless mode. 
> So, using processing model is the only way here or there are any other
> approaches ?
> using xvfb-run  is an option, but it will complicate something else i.e i
> want then invoke the scripts via hadoop-mapreduce for parallel execution.
> --
> View this message in context: http://osgeo-org.1560.x6.nabble.com/Error-cannot-connect-to-X-server-on-Ubuntu-tp5177029p5177316.html
> Sent from the Quantum GIS - Developer mailing list archive at Nabble.com.
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-developer

More information about the Qgis-developer mailing list