Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Lens K8s unable to connect to terminal in Window's 10

There is no terminal coming in the Lens. Lens terminal just showing connecting...

like image 751
Neeraj Singh Negi Avatar asked Oct 18 '25 03:10

Neeraj Singh Negi


1 Answers

Root Cause

Bydefault lens uses the powershell but Lens need wsl shell. By changing the shell to wsl this issue can be solve also we have to add the path for wsl in lens application.

In the backend Lens call the WSL shell. But Lens unable to find it.

Solution

We can solve this issue by setting up the system environment variables.

  1. Go to the Preferences and set Terminal as wsl.exe.
  2. Set environment for wsl.exe. Go to System Variable and add the PATH.

enter image description here enter image description here

enter image description here

like image 138
Neeraj Singh Negi Avatar answered Oct 20 '25 21:10

Neeraj Singh Negi



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!