Skip to main content
Associate II
August 16, 2025
Question

I can't enter myST account information when using STM32CubeMX on WSL.

  • August 16, 2025
  • 4 replies
  • 422 views

I run STM32CubeMX from the terminal and get an errror message in termianl.

You can find the details in ‘error.txt'.

4 replies

Ghofrane GSOURI
Technical Moderator
August 20, 2025

Hello @novum 

The error you are experiencing is due to STM32CubeMX’s Java-based GUI not being fully supported in the WSL environment, particularly for authentication dialogs. To resolve this, it is recommended to run STM32CubeMX directly on Windows, where all GUI features and myST account integration are fully supported. 

THX

Ghofrane

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.
novumAuthor
Associate II
August 21, 2025

Thanks for your reply.
I will run STM32CubeMX directly on Windows.
Thanks again.

novumAuthor
Associate II
August 21, 2025

Thanks for your reply.

I will run STM32CubeMX on Windows.
Thanks again.

novumAuthor
Associate II
November 10, 2025

Hello, @Ghofrane GSOURI 

I found a way to enable the function.
After running the following command on Ubuntu WSL environment, I can enter myST account information in STM32CubeMX.

sudo apt install libasound2 libnss3 libnspr4 libxss1