Windows 10 x64: Can't configure Clion with Windows Subsystem for Linux
已回答
I try to configure Clion with WSL on Windows 10 x64 and I can't do that. When I setup credentials to "ssh://user@localhost:2222" I can see the error: "Credentials are not valid for this WSL distribution (Ubuntu 18.04)".
How can I fix this?
Thanks
请先登录再写评论。
Same problem here...
Hello! What CLion version do you use? The issue should be fixed in CLion 2018.1.5 and CLion 2018.2. EAP.
I'm using CLion 2018.1.5 but the error is still existing.
/usr/bin/cmake, /usr/bin/make, /usr/bin/cc, /usr/bin/c++ and WSL GDB (\usr\bin\gdb) detected successfully but I can see the error: "Credentials are not valid for this WSL distribution (Ubuntu 18.04)".
As a result there is no possibility to config a project.
@Prus1337, did you install WSL distribution via the Windows Store?
If you did, please provide the following additional information to clion-support at jetbrains.com:
Thanks in advance!
I have sent the requested information
For all who face the “Credentials are not valid for this WSL distribution" error:
Please check value of HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Lxss{<ubuntu_id>}\BasePath. If it contains non-ASCII characters, please see the related issue in our tracker (https://youtrack.jetbrains.com/issue/CPP-13614) which describes a workaround.
It's works for me. Thanks!