Skip to main content
Associate II
Question

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

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

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

This topic has been closed for replies.

4 replies

Ghofrane GSOURI
ST Technical Moderator

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

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

novumAuthor
Associate II

Thanks for your reply.

I will run STM32CubeMX on Windows.
Thanks again.

novumAuthor
Associate II

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