2023-03-15 08:09 AM
Hi, I'm getting error "(gtk_hello_world:1474): Gtk-WARNING **: 18:09:46.325: cannot open display: " while executing "hello-world" sample application with STM32MP157F-DK2. Expected a GTK window is NOT displayed on display screen
I have followed steps as mentioned in Create a simple hello-world application - stm32mpu
I'm using Ubuntu 22.04.2 LTS installed on Windows 11 laptop with Oracle VM VirtualBox Manager 7.0.6
Error/Warning message screenshot attached
Solved! Go to Solution.
2023-03-15 08:23 AM
Hello @S.Kamath ,
Please have a look at this page that explains all the classic problems encountered by the users:
https://wiki.st.com/stm32mpu/wiki/Wayland_Weston_troubleshooting_grid
You can't run "gtk_hello_world" like this, you have to follow what is explained in the Getting started wiki page:
Best Regards,
Kevin
In order to give better visibility on the answered topics, please click on 'Select as Best' on the reply which solved your issue or answered your question. See also 'Best Answers'
2023-03-15 08:23 AM
Hello @S.Kamath ,
Please have a look at this page that explains all the classic problems encountered by the users:
https://wiki.st.com/stm32mpu/wiki/Wayland_Weston_troubleshooting_grid
You can't run "gtk_hello_world" like this, you have to follow what is explained in the Getting started wiki page:
Best Regards,
Kevin
In order to give better visibility on the answered topics, please click on 'Select as Best' on the reply which solved your issue or answered your question. See also 'Best Answers'
2023-03-15 09:14 AM
Thanks Kevin,
I have followed Deploy and execute commands as mentioned in the following YouTube link. I think this video is quite outdated for latest starter Kit package releases.
STM32MP1 workshop - 5 Simple Linux application with Development Package - YouTube
I'm able to make it working by now following above Wiki page...