I use a cloud server with Ubuntu 24.04 on Hetzner. Communicate with it via putty app. Starting „service qgis start“ give me an error with the DISPLAY environment. Any idea how to fix this problem?
Part of log file:
qgisserver 1.9.6 (build 202506101134, commit 1565a8e)
QGIS 3.40.10-Bratislava ‘Bratislava’ (c98da2e6828)
QGIS code revision c98da2e6828
Qt version 5.15.13
Python version 3.12.3
GDAL/OGR version 3.8.4
PROJ version 9.4.0
EPSG Registry database version v11.004 (2024-02-24)
GEOS version 3.12.1-CAPI-1.18.1
SQLite version 3.45.1
OS Ubuntu 24.04.3 LTS
2025-08-28 18:54:18,500 INFO [7643] Binding frontend to ipc:///tmp/qgssrv/broker/7642/0
2025-08-28 18:54:18,501 INFO [7643] Binding backend to ipc:///tmp/qgssrv/broker/7642/pool0
2025-08-28 18:54:18,502 INFO [7643] Starting ZMQ broker loop
2025-08-28 18:54:18,503 INFO [7646] Starting worker pool
2025-08-28 18:54:18,503 INFO [7642] Running server on port 127.0.0.1:7200
2025-08-28 18:54:18,504 INFO [7642] Starting client b’OWS-SERVER-7642’
2025-08-28 18:54:18,506 INFO [7642] Initializing supervisor
2025-08-28 18:54:18,506 INFO [7642] Initializing pool healthcheck
2025-08-28 18:54:18,507 INFO [7642] Starting processing requests
2025-08-28 18:54:18,509 INFO [7651] >>>>> Qgis Projects options:
** Getprint Disabled…No
** Trust Layer Metadata…Yes
** Readonly Layers…Yes
<<<<<
2025-08-28 18:54:18,515 INFO [7652] >>>>> Qgis Projects options:
** Getprint Disabled…No
** Trust Layer Metadata…Yes
** Readonly Layers…Yes
<<<<<
2025-08-28 18:54:18,517 INFO [7653] >>>>> Qgis Projects options:
** Getprint Disabled…No
** Trust Layer Metadata…Yes
** Readonly Layers…Yes
<<<<<
2025-08-28 18:54:18,522 INFO [7654] >>>>> Qgis Projects options:
** Getprint Disabled…No
** Trust Layer Metadata…Yes
** Readonly Layers…Yes
<<<<<
2025-08-28 18:54:18,531 INFO [7653] Starting Qgis application: 3.40.10-Bratislava
2025-08-28 18:54:18,531 INFO [7653] Using DISPLAY: :99
2025-08-28 18:54:18,532 INFO [7651] Starting Qgis application: 3.40.10-Bratislava
2025-08-28 18:54:18,532 INFO [7651] Using DISPLAY: :99
qt.qpa.xcb: could not connect to display :99
qt.qpa.plugin: Could not load the Qt platform plugin “xcb” in “” even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite
-glx, xcb.
2025-08-28 18:54:18,536 INFO [7654] Starting Qgis application: 3.40.10-Bratislava
2025-08-28 18:54:18,536 INFO [7654] Using DISPLAY: :99