Unable to launch application from SSH to Yocto Kirkstone iMX8
-
I am encountering while attempting to deploy a Qt application on an i.MX8 board running Yocto Kirkstone with Wayland and Weston.
Here are some key details regarding the setup and the problem:
- Target Platform: i.MX8 board
- Operating System: Yocto Kirkstone
- Goal: To display a Qt application on the i.MX8 board.
- Yocto Build: The Yocto build has been compiled with the 'meta-qt5' layer, and the following Qt recipes have been included:
- qtbase
- qtconnectivity
- qtdeclarative
- qtsmarthome
- qt5ledscreen
- qtwayland
- Wayland and Weston: Wayland and Weston have been successfully implemented.
The Problem:
I am encountering an error when attempting to run a binary compiled with Qt Creator. The error messages are as follows:For the Custom Application:
QML debugging is enabled. Only use this in a safe environment. Failed to create wl_display (No such file or directory) qt.qpa.plugin: Could not load the Qt platform plugin "wayland" 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: minimal, offscreen, vnc, wayland-egl, wayland. Aborted
For the Basic Application (weston-calibrator):
failed to connect to Wayland display: No such file or directory failed to create display: No such file or directory
I have already attempted solutions such as exporting
DISPLAY:=0
, but they did not resolve the issue. Interestingly, during the startup of the board, the Weston desktop environment is displayed correctly.I would greatly appreciate your guidance and expertise in resolving this issue. If you need any additional information or logs, please let me know. Your support in resolving this matter would be invaluable.
Thank you in advance for your assistance.
Best regards,
DT