Category : wsl-2

As you guys can see from the images. I am trying to connect by WSL2-Ubuntu with IntelliJ by following this documentation https://www.jetbrains.com/help/idea/how-to-use-wsl-development-environment-in-product.html#local_project. When I give JDK path and click on Apply or Ok it froze the screen. This happens every time I try and only leaves with me the option to close the IDE using ..

Read more

Today I tried to install Kali Linux in my Windows 10 machine ┌──(root💀DESKTOP-KN54U4A)-[~] └─# kex -start output: Error connecting to the KeX server. Please try "kex start" to start the service. If the server fails to start, please try "kex kill" or restart your WSL2 session and try again. ┌──(leader㉿DESKTOP-KN54U4A)-[~] └─$ kex -s Output Error ..

Read more

I am trying to use Cuda and Thrust in a C++ program on WSL2. I followed the instructions in here to enable Cuda on WSL2. Here is a small sample program: first, I define: export CUDA_LIBRARY_DIRECTORY=/usr/local/cuda-11.0/lib64 export CUDA_INCLUDE_DIRECTORY=/usr/local/cuda-11.0/include export CUDACXX=/usr/local/cuda-11.0/bin/nvcc CMakeLists.txt cmake_minimum_required(VERSION 2.8) project(proj LANGUAGES CXX CUDA) set (CMAKE_CXX_STANDARD 14) #### use cuda #### set(CUDA_NVCC_FLAGS ..

Read more