windows-subsystem-for-linux

How do I get Windows 10 Terminal to launch WSL?

无人久伴 提交于 2020-05-09 18:24:31
问题 I'm using the new Windows Terminal, and trying to get it to launch my WSL terminal. This is the setting that I'm trying to use: { "acrylicOpacity" : 0.75, "closeOnExit" : true, "colorScheme" : "Campbell", "commandline" : "%LOCALAPPDATA%/wsltty/bin/mintty.exe --WSL= --configdir='%APPDATA%/wsltty' -~ ", "cursorColor" : "#FFFFFF", "cursorShape" : "bar", "fontFace" : "Consolas", "fontSize" : 10, "guid" : "{0caa0dad-35be-5f56-a8ff-afceeeaa6101}", "historySize" : 9001, "icon" : "ms-appx://

How do I get Windows 10 Terminal to launch WSL?

99封情书 提交于 2020-05-09 18:24:01
问题 I'm using the new Windows Terminal, and trying to get it to launch my WSL terminal. This is the setting that I'm trying to use: { "acrylicOpacity" : 0.75, "closeOnExit" : true, "colorScheme" : "Campbell", "commandline" : "%LOCALAPPDATA%/wsltty/bin/mintty.exe --WSL= --configdir='%APPDATA%/wsltty' -~ ", "cursorColor" : "#FFFFFF", "cursorShape" : "bar", "fontFace" : "Consolas", "fontSize" : 10, "guid" : "{0caa0dad-35be-5f56-a8ff-afceeeaa6101}", "historySize" : 9001, "icon" : "ms-appx://

Why my environnement variables not picked up with create React app?

白昼怎懂夜的黑 提交于 2020-04-30 06:26:20
问题 I am trying to use environment variables in a react app created on WSL. I cannot access the variables from my app. Here is what I did: Create a .env file at the root folder of my react app (within a client folder of a Rails app) Create a variable: REACT_APP_API_URL=http://localhost:3000/api/v1/ Log the variable in my console: console.log(process.env.REACT_APP_API_URL) Restarted the server I keep getting an undefined variable. Am I missing anything related to WSL maybe? I am a bit clueless as

Procedure pointers in Fortran [duplicate]

谁都会走 提交于 2020-04-16 02:10:51
问题 This question already has an answer here : Segmentation fault when passing internal function as argument (1 answer) Closed last year . I am trying to have a generic subroutine event() and a procedure pointer to this generic subroutine, event_i. Then I would like to create any subroutine (like hello_wolrd in the following code) and point to this created subroutine. Can you help me to understand why the first code does not work while the second one does work? The error I get with the first

Running React Native in WSL with the emulator running directly in Windows

余生颓废 提交于 2020-04-07 12:04:09
问题 I haven't done Android development in a while, so my knowledge of modern Android development is spotty. I'm trying to learn React Native. I use WSL as my primary development environment. Since it'll probably be a pain to set up the Android emulator in Linux/WSL, I want to run the emulator directly on Windows. However, I'd prefer to be able to run react-native run-android in WSL. How would I set up React Native to be able to run react-native run-android in WSL and run the app in an Android

Running React Native in WSL with the emulator running directly in Windows

荒凉一梦 提交于 2020-04-07 12:04:04
问题 I haven't done Android development in a while, so my knowledge of modern Android development is spotty. I'm trying to learn React Native. I use WSL as my primary development environment. Since it'll probably be a pain to set up the Android emulator in Linux/WSL, I want to run the emulator directly on Windows. However, I'd prefer to be able to run react-native run-android in WSL. How would I set up React Native to be able to run react-native run-android in WSL and run the app in an Android

Listing the contents of a directory in a shared volume with 200K files from within a ubuntu container hosted in windows gets stuck

此生再无相见时 提交于 2020-04-07 08:23:12
问题 Problem Listing the contents of a directory in a shared volume with 200K files from within a ubuntu container hosted in windows gets stuck. How to reproduce Install Docker Desktop 2.2.0.3 (42716) stable on Windows 10 Configure docker to work in WSL (Ubuntu 16 distribution) Expose daemon on tcp://localhost:2375 without TLS In WSL, define environment variable DOCKER_HOST=localhost:2375 In WSL, in /etc/wsl.conf in the [automount] section, define root = / Create a folder on the Windows host that

How do I enable Active Directory/LDAP/Kerberos in Windows Subsystem for Linux (WSL)?

别来无恙 提交于 2020-03-26 03:00:53
问题 I am working on a PHP application that uses Active Directory for authentication. I am trying to use the Windows Subsystem for Linux (WSL) to do development. When you start WSL, you create a local user with a different password. I am trying to figure out how to use AD instead. I found one question (https://superuser.com/questions/1248278/wsl-and-ad-domain-account), but the only response was a comment that doesn't quite connect the dots for me. It mentions configuring a IdM provider, but it isn

How do I enable Active Directory/LDAP/Kerberos in Windows Subsystem for Linux (WSL)?

二次信任 提交于 2020-03-26 03:00:47
问题 I am working on a PHP application that uses Active Directory for authentication. I am trying to use the Windows Subsystem for Linux (WSL) to do development. When you start WSL, you create a local user with a different password. I am trying to figure out how to use AD instead. I found one question (https://superuser.com/questions/1248278/wsl-and-ad-domain-account), but the only response was a comment that doesn't quite connect the dots for me. It mentions configuring a IdM provider, but it isn

GUI Applications on WSL

﹥>﹥吖頭↗ 提交于 2020-03-25 21:06:55
问题 I am using Xming to get graphical outputs from WSL(Ubuntu). And i have problem with outputs. tutorial output my output why am i getting different results and is there any way to get same outputs? tutorial code visualization part : // Visualization printf( "\nPoint cloud colors : white = original point cloud\n" " red = transformed point cloud\n"); pcl::visualization::PCLVisualizer viewer ("Matrix transformation example"); // Define R,G,B colors for the point cloud pcl::visualization: