VS Code setup & password

New to Linux…and somehow everything installed but the popup to ask for the username & password never comes up even after multiple re-installations.

Seems the password isn’t set for Docker nor WSL 2 and wherever else a password & username maybe lurking. It’s quite confusing…the installation seems to not work as it should.

Any ideas?

[07-07 16:10:56.709] Activating Torizon IDE …

[07-07 16:10:56.709] Torizon IDE version :: 3.6.0

[07-07 16:10:58.031] Latest Torizon IDE published :: 3.6.105

[07-07 16:10:58.031] Telemetry is enabled

[07-07 16:10:58.031] Extension collects completely anonymous telemetry data about templates usage. Participation in this anonymous program is optional, and you may opt-out if you’d not like to share any information. Check: Settings - Data Collection | Toradex Developer Center

[07-07 16:10:58.031] Telemetry allows us to accurately gauge templates usage. This data will help us to focus better on the most used templates, adding new features and putting effort in the right place.

[07-07 16:10:58.032] Resolving host IP address …

[07-07 16:10:59.077] Host IP address OK

[07-07 16:10:59.077] Bash as default shell OK

[07-07 16:10:59.110] Docker installed OK

[07-07 16:10:59.703] Docker running OK

[07-07 16:10:59.959] Docker compose OK

[07-07 16:11:00.067] WARNING :: PowerShell Core is not installed.

[07-07 16:11:00.099] git OK

[07-07 16:11:00.111] dig OK

[07-07 16:11:00.123] avahi-resolve OK

[07-07 16:11:00.136] nmap OK

[07-07 16:11:00.149] iputils-ping OK

[07-07 16:11:00.161] file OK

[07-07 16:11:00.175] sshpass OK

[07-07 16:11:00.281] iproute2 OK

[07-07 16:11:00.294] rsync OK

[07-07 16:11:00.307] python3 OK

[07-07 16:11:00.321] pipx OK

[07-07 16:11:00.322] Cloning project templates

[07-07 16:11:00.322] Templates repo: GitHub - torizon/vscode-torizon-templates: VS Code Torizon Integrated Development Environment Templates · GitHub

[07-07 16:11:00.322] Templates branch: bookworm-7

[07-07 16:11:00.322] Templates tag/hash: bookworm-7

[07-07 16:11:00.322] Skipping repo-vars.json creation: no workspace folder is open

[07-07 16:11:00.345] Project templates clone of branch bookworm-7 OK

[07-07 16:11:00.840] Project templates fetched OK

[07-07 16:11:00.866] Checkout templates repo to tag origin/bookworm-7 OK

[07-07 16:11:00.866] Warning: /usr/bin/xonsh is not linked to $HOME/.local/bin/xonsh

[07-07 16:11:39.732] Error trying to setup xonsh

[07-07 16:11:39.732] WARNING :: PowerShell is not installed, if you are using Torizon v6.x.x or templates from Torizon v6.x.x, PowerShell is required.

[07-07 16:11:39.734] ERROR :: Xonsh is not installed, Xonsh is required.

[07-07 16:11:39.735] Checking connected devices …

[07-07 16:11:39.735] Scanning Torizon devices …

[07-07 16:11:39.742] Debian bookworm packages list load OK

[07-07 16:11:39.742] ERROR :: Errors during the initialization of Torizon IDE Extension.

[07-07 16:11:39.742] HOUSTON WE HAVE A PROBLEM!

[07-07 16:11:39.742] PLEASE READ THE LOGS!

[07-07 16:11:39.742] ERROR :: Please share this log on https://community.toradex.com

[07-07 16:11:39.743] ERROR :: Command failed. Full log from /home/null/.apollox.cmd.log:

:spiral_shell: SETUP XONSH

xonsh 0.23.7 already installed, skipping

updating torizon-templates-utils …

Using published package…

Requirement already satisfied: torizon-templates-utils in ./.local/pipx/venvs/xonsh/lib/python3.11/site-packages (1.3.5)

Requirement already satisfied: torizon-io-api in ./.local/pipx/venvs/xonsh/lib/python3.11/site-packages (from torizon-templates-utils) (0.0.7)

Requirement already satisfied: requests in ./.local/pipx/venvs/xonsh/lib/python3.11/site-packages (from torizon-templates-utils) (2.34.2)

Requirement already satisfied: pyyaml in ./.local/pipx/venvs/xonsh/lib/python3.11/site-packages (from torizon-templates-utils) (6.0.3)

Requirement already satisfied: debugpy in ./.local/pipx/venvs/xonsh/lib/python3.11/site-packages (from torizon-templates-utils) (1.8.21)

Requirement already satisfied: pkginfo>=1.12 in ./.local/pipx/venvs/xonsh/lib/python3.11/site-packages (from torizon-templates-utils) (1.12.1.2)

Requirement already satisfied: charset_normalizer<4,>=2 in ./.local/pipx/venvs/xonsh/lib/python3.11/site-packages (from requests->torizon-templates-utils) (3.4.8)

Requirement already satisfied: idna<4,>=2.5 in ./.local/pipx/venvs/xonsh/lib/python3.11/site-packages (from requests->torizon-templates-utils) (3.18)

Requirement already satisfied: urllib3<3,>=1.26 in ./.local/pipx/venvs/xonsh/lib/python3.11/site-packages (from requests->torizon-templates-utils) (2.7.0)

Requirement already satisfied: certifi>=2023.5.7 in ./.local/pipx/venvs/xonsh/lib/python3.11/site-packages (from requests->torizon-templates-utils) (2026.6.17)

Requirement already satisfied: pydantic>=2 in ./.local/pipx/venvs/xonsh/lib/python3.11/site-packages (from torizon-io-api->torizon-templates-utils) (2.13.4)

Requirement already satisfied: python-dateutil>=2.8.2 in ./.local/pipx/venvs/xonsh/lib/python3.11/site-packages (from torizon-io-api->torizon-templates-utils) (2.9.0.post0)

Requirement already satisfied: typing-extensions>=4.7.1 in ./.local/pipx/venvs/xonsh/lib/python3.11/site-packages (from torizon-io-api->torizon-templates-utils) (4.16.0)

Requirement already satisfied: annotated-types>=0.6.0 in ./.local/pipx/venvs/xonsh/lib/python3.11/site-packages (from pydantic>=2->torizon-io-api->torizon-templates-utils) (0.7.0)

Requirement already satisfied: pydantic-core==2.46.4 in ./.local/pipx/venvs/xonsh/lib/python3.11/site-packages (from pydantic>=2->torizon-io-api->torizon-templates-utils) (2.46.4)

Requirement already satisfied: typing-inspection>=0.4.2 in ./.local/pipx/venvs/xonsh/lib/python3.11/site-packages (from pydantic>=2->torizon-io-api->torizon-templates-utils) (0.4.2)

Requirement already satisfied: six>=1.5 in ./.local/pipx/venvs/xonsh/lib/python3.11/site-packages (from python-dateutil>=2.8.2->torizon-io-api->torizon-templates-utils) (1.17.0)

installing distro…

done! :sparkles: :glowing_star: :sparkles:

injected package distro into venv xonsh

installing shtab…

done! :sparkles: :glowing_star: :sparkles:

injected package shtab into venv xonsh

installing pyyaml…

done! :sparkles: :glowing_star: :sparkles:

injected package pyyaml into venv xonsh

installing psutil…

done! :sparkles: :glowing_star: :sparkles:

injected package psutil into venv xonsh

installing ruamel-yaml…

done! :sparkles: :glowing_star: :sparkles:

injected package ruamel-yaml into venv xonsh

installing torizon-templates-utils…

done! :sparkles: :glowing_star: :sparkles:

injected package torizon-templates-utils into venv xonsh

installing gitpython…

done! :sparkles: :glowing_star: :sparkles:

injected package gitpython into venv xonsh

installing python-lsp-server…

done! :sparkles: :glowing_star: :sparkles:

injected package python-lsp-server into venv xonsh

installing pylsp-rope…

done! :sparkles: :glowing_star: :sparkles:

injected package pylsp-rope into venv xonsh

The xonsh in /usr/bin/xonsh is not linked to /home/null/.local/pipx/venvs/xonsh/bin/xonsh, trying to relink …

[sudo] password for null: Sorry, try again.

[sudo] password for null:

sudo: no password was provided

sudo: 1 incorrect password attempt

Failed to create /usr/bin/xonsh using sudo. Check password and sudo permissions.

Hi Peter,

If you look at the very end of the Log you can see that

[sudo] password for null: Sorry, try again.[sudo] password for null:sudo: no password was providedsudo: 1 incorrect password attempt

Which speaks for itself, the username and password
Your probably has no password and the username was set as null, so it can’t authenticate.

try:

wsl -u root

set a password:

passwd null

check if the user can sudo:

usermod -aG sudo null

then exit and restart:

wsl --shutdown

There is also a PowerShell Core not installed - but don’t worry about it since the most recent versions don’t use powershell.

Let me know how it goes,
Sincerely,
Ruslan Nurimbetov

Ruslan Nurimbetov
Toradex

Hi @ee.works

Any further questions on this topic or can we close this “ticket”?

Did you find a way forward here?

Best regards,