![]() ![]() Once you have installed WSL 2 and a Linux distribution, open the Linux distribution (it can be found in your Windows start menu) and check the version and codename using the command: lsb_release -dc. These steps will include choosing a Linux distribution (for example, Ubuntu). To enable and install WSL 2, follow the steps in the WSL install documentation. WSL 2 is the most recent version available for Windows and we recommend it for professional Node.js development workflows. ![]() This recommendation also applies if you plan to use a Windows Server production environment. ![]() If you are new to developing with Node.js and want to get up and running quickly so that you can learn, install Node.js on Windows. The IP can be retrieve from the file /etc/nf that is generated by WSL2. ![]() The WSL2 terminal must be configured to set and export the DISPLAY environnment variable to use the Windows host’s IP of WSL2. Settings are accesibles from Windows settings > Update and security > Windows Securities > Firewall and network protection > Allow an application through firewall WSL2 terminal configuration Then you can save the configuration in order to reuse it later to launch VcXsvr directly with the right configuration.Ĭheck that the Windows firewall settings are correctly configured, it must have both public and private checked for VcXsvr windows xserver.Check disable access control or add -ac into the additional parameters, it will avoid permission denied error when trying to run a GUI application.Install VcXsrv that is an open-source and frequently updated Windows X Server (it will be the provider of graphics resources and keyboard/mouse events), then start it as follow: Intellij IDEA does not have plugin such as Visual Studio Code Remote Development, nevertheless it is possible to run linux GUI applications directly from WSL2 terminal by installing an X Server for Windows. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |