Skip to main content
Visitor II
October 21, 2024
Question

STM32TrustedPackageCreator_CLI still needs a DISPLAY to be defined

  • October 21, 2024
  • 1 reply
  • 691 views

I want to run STM32TrustedPackageCreator_CLI in docker. Unfortunately it requires a display, and is throwing an error without it:

qt.qpa.xcb: could not connect to display
qt.qpa.plugin: From 6.5.0, xcb-cursor0 or libxcb-cursor0 is needed to load the Qt xcb platform plugin.
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: vnc, minimalegl, linuxfb, wayland, wayland-egl, eglfs, xcb, vkkhrdisplay, offscreen, minimal.

Aborted (core dumped)

Is there a way to run it headless? CLI implies running without graphics?

1 reply

Amine_Jridi
Technical Moderator
October 22, 2024

Hello @imikec,

 

There is already a request to add Docker support for STM32TrustedPackageCreator_CLI.

Internal ticket number: 185103 (This is an internal tracking number and is not accessible or usable by customers).

If you need any further assistance with TPC_CLI, feel free to comment.


Amine.

 

In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.