cancel
Showing results for 
Search instead for 
Did you mean: 

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

Forti61
Associate

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 ?

1 REPLY 1
Erwan SZYMANSKI
ST Employee

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.