[Qgis-user] use the new standalone console processing tool, in a server without a GUI
Totò
pigrecoinfinito at gmail.com
Thu Jul 16 03:13:41 PDT 2020
Totò wrote
> Hello,
> i have linux Ubuntu 18.04 bionic,
>
> I launched this:
>
> sudo apt-get install gnupg software-properties-common
> sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys
> 51F523511C7028C3
> sudo add-apt-repository "deb https://qgis.org/ubuntugis `lsb_release
> -c
> -s` main"
> sudo apt-get update
> sudo apt-get install qgis qgis-plugin-grass
>
> just finished I launched qgis --version:
> QGIS 3.14.0-Pi 'Pi' (9f7028fd23)
>
> but by running qgis_process list or any other command valid for
> qgis_process
> I always get:
>
> QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/ tmp /
> runtime-pigreco'
> qt.qpa.screen: QXcbConnection: Could not connect to display
> Could not connect to any X display.
>
> how can i fix it ??
you need to set this variable:
export QT_QPA_PLATFORM = 'offscreen'
thanks to Andrea Giudiceandrea
In addition, all parameters must be defined.
Is it a bug ??
-----
https://pigrecoinfinito.wordpress.com/
--
Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-User-f4125267.html
More information about the Qgis-user
mailing list