question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[support] Not able to run Jetbrains Toolbox

See original GitHub issue

Hi,

First wanted to thank you for this nice piece of software 😃

I know this isn’t related to the tool itself, but I saw you running jetbrains products in your demo so maybe you could help me. I’m trying to run jetbrains toolbox that is installed in WSL2 but it’s not launching, while some other apps work fine.

Steps:

  1. I’ve installed the toolbox using this script: https://github.com/nagygergo/jetbrains-toolbox-install
  2. Re-run wsl-windows-toolbar
  3. Launch toolbox from the toolbar -> nothing happens 3.1 Alternatively launching toolbox from WSL cli doesn’t do anything either

I am able to run other gui apps, like xeyes from WSL terminal, and I’m also able to run apps from the toolbar, like htop and vim.

I’ve tried adding:

dbus_status=$(service dbus status)
if [[ $dbus_status = *"is not running"* ]]; then
  sudo service dbus --full-restart
fi

at the beginning of my ~.zshrc file, but that didn’t help either.

And I tried to launch this from the cmd as well:

C:\Users\sergeip>wsl.exe -d Ubuntu-20.04 -u sergio -- source ~/.zshrc ; env; jetbrains-toolbox
HOSTTYPE=x86_64
LANG=C.UTF-8
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/mnt/c/WINDOWS/system32:/mnt/c/WINDOWS:/mnt/c/WINDOWS/System32/Wbem:/mnt/c/WINDOWS/System32/WindowsPowerShell/v1.0/:/mnt/c/WINDOWS/System32/OpenSSH/:/mnt/c/ProgramData/chocolatey/bin:/mnt/c/Users/sergeip/AppData/Local/Microsoft/WindowsApps
TERM=xterm-256color
WSLENV=
WSL_INTEROP=/run/WSL/31905_interop
NAME=rocinante
HOME=/home/sergio
USER=sergio
LOGNAME=sergio
SHELL=/usr/bin/zsh
WSL_DISTRO_NAME=Ubuntu-20.04
SHLVL=1
PWD=/mnt/c/Users/sergeip
OLDPWD=/mnt/c/Users/sergeip
_=/usr/bin/env

which does not give any errors.

Here’s the .desktop file:

✓ ~→ less ~/.local/share/applications/jetbrains-toolbox.desktop

[Desktop Entry]
Icon=/home/sergio/.local/share/JetBrains/Toolbox/toolbox.svg
Exec=/home/sergio/.local/share/JetBrains/Toolbox/bin/jetbrains-toolbox %u
Version=1.0
Type=Application
Categories=Development
Name=JetBrains Toolbox
StartupWMClass=jetbrains-toolbox
Terminal=false
MimeType=x-scheme-handler/jetbrains;
X-GNOME-Autostart-enabled=true
StartupNotify=false
X-GNOME-Autostart-Delay=10
X-MATE-Autostart-Delay=10
X-KDE-autostart-after=panel

Launching the app from the toobar does actually create the process in WSL:

✓ ~→ ps aux | grep jetbrains

sergio   10013 27.0  0.0  12124  2356 ?        Rsl  11:29   0:00 /home/sergio/.local/share/JetBrains/Toolbox/bin/jetbrains-toolbox
sergio   10022  299  0.2 3475908 106672 ?      Rl   11:30   0:02 ./jetbrains-toolbox

Any ideas what else I could try here?

Thanks a lot for the help!

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:12 (2 by maintainers)

github_iconTop GitHub Comments

10reactions
serpro69commented, Jul 27, 2021

Just in case someone else stumbles onto this, this is what helped me:

sudo apt install libcups2 libpangocairo-1.0-0 libatk-adaptor libxss1 libnss3 libxcb-keysyms1 x11-apps libgbm1 libxkbcommon-dev
sudo add-apt-repository ppa:appimagelauncher-team/stable
sudo apt update
sudo apt install appimagelauncher

Looks like appimagelauncher brings in some extra dependencies with it that are required to run the jetbrains toolbox. If I run sudo apt autoremove and remove the dependencies that were pulled by appimagelauncher, then the toolbox stops working (it launches, but I only see a white window). Would be nice to figure out which dependency is the culprit here, but there are quite a few of those.

4reactions
ShawnTalbertcommented, Jan 23, 2022

I never did get the toolbox to diplay on VcXsrv. It just left a little icon window but couldn’t open it 😦.

Read more comments on GitHub >

github_iconTop Results From Across the Web

I can't execute the toolbox in Linux
I can't execute the toolbox in Linux Follow​​ gz from the Toolbox App web page. Extract the tarball to a directory that supports...
Read more >
FAQ – JetBrains Toolbox App
Do I need a license to use the JetBrains Toolbox App? No ... I can't log in with my JetBrains Account. ... Still...
Read more >
Unable to login - Toolbox App Support | JetBrains
I cannot login to the toolbox app. When I click the Log In link, I'm take to the jetbrains site to Approve access,...
Read more >
Unable to start Jetbrains Toolbox with WSLG : TBX-6886
Hello, about 95% of the time, when trying to open the JetBrains Toolbox through WSL2, with the WSL Gui, the app doesn't open....
Read more >
Intellij toolbox failed to install
BUT then it ran and failed to extract. I am not sure what is going on, but this is not working for me...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found