Skip to main content
Visitor II
December 23, 2023
Question

Problem with an application using the graphical subsystem weston on the STM32MP157F-DK2 board

  • December 23, 2023
  • 1 reply
  • 1057 views

In the file "Problem description.pdf" you find a description of my problem.

I am using visualgdb to compile a Linux application using the GTK-Graphic running on the A7 core of the STM32MP157F-DK2 board.

The build process principally works correctly, but there is a problem with user privilege settings.

Does sombedy have any ideas how to tackle this problem ?

This topic has been closed for replies.

1 reply

Erwan SZYMANSKI
Technical Moderator
January 3, 2024

Hello @Forti61,
The behavior you have looks completely normal, and your PDF well summarize it :

  • Graphical application cannot be executed by root user, but only by weston.
  • If your IDE execute your program as root user, it will not work

I do not know your editor, but you certainly have a way to execute your program with a different user privilege.

Kind regards,
Erwan. 

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.