<p>There is no terminal coming in the Lens. Lens terminal just showing <strong>connecting...</strong></p>

<p><strong>Root Cause</strong></p>
<p>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.</p>
<p>In the backend Lens call the <strong>WSL</strong> shell. But Lens unable to find it.</p>
<p><strong>Solution</strong></p>
<p>We can solve this issue by setting up the system environment variables.</p>
<ol>
<li>Go to the Preferences and set <strong>Terminal</strong> as <strong>wsl.exe</strong>.</li>
<li>Set environment for <strong>wsl.exe</strong>. Go to System Variable and add the PATH.</li>
</ol>
<p><a href="https://i.stack.imgur.com/71WHh.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/71WHh.png" alt="enter image description here" /></a>
<a href="https://i.stack.imgur.com/YJywz.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/YJywz.png" alt="enter image description here" /></a></p>
<p><a href="https://i.stack.imgur.com/KZSlj.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/KZSlj.png" alt="enter image description here" /></a></p>
