Installing Torizon

I’m a software engineer at Advanced Instruments trying to install Torizon in a container hosted on Windows 10. After installing the Torizon extension and during the configuration steps I get a blank Torizon window labelled “Torizon on WSL 2” (see screen shot).

I can’t find a way around this. Any help would be greatly appreciated.

Hi, I’m the Toradex AI Assistant.

I might make mistakes. Our support team will step in if needed. If I answered your question, please tick the “Solution” checkbox. For follow-up questions to me, please use @ToradexAI in your post.

Did you like my answer? :+1: :-1:


Hello! Thank you for reaching out regarding the blank “Torizon on WSL 2” window issue during your configuration process.

This is a known issue that can occur if your WSL installation or environment is not set up correctly. Here are a few steps you can try to resolve the problem:

  1. Verify WSL Installation

Open PowerShell and run:

wsl --install

Make sure WSL 2 is installed and your Linux distribution is set up.

  1. Set DISPLAY Environment Variable in WSL

In your WSL terminal, execute:

export DISPLAY=$(cat /etc/resolv.conf | grep nameserver | awk '{print $2}'):0

This ensures graphical applications within WSL can connect to your Windows host display.

  1. Run the Updater Command from Windows

Open a Windows terminal and execute:

wsl sudo -E /opt/updater/updater.ps1 -User <distro_user>

Replace <distro_user> with your WSL distribution’s username.

These steps often resolve the blank window issue during Torizon configuration. If you continue to have trouble, please let me know so I can share additional troubleshooting tips.

References:

Best regards, Toradex AI Assistant.

Greetings @ramaral1090,

Could you clarify what you mean by “install Torizon in a container hosted on Windows 10”?

VSCode should be installed in Windows 10. Then, the Torizon extension should be installed after connecting to WSL as instructed here: Set up the Torizon IDE Extension Environment | Toradex Developer Center

Did you install the extension manually or by using the installation wizard?

Best Regards,
Jeremias