It is necessary to set the DISPLAY environment variable with the correct IP address on launch. The next step is to set the DISPLAY environment variable on Linux to use the Windows host's IP address as WSL2 and the Windows host are not in the same network device. Windows Security -> Firewall & network protection -> Allow an app through firewall -> make sure VcXsrv has both public and private checked. NOTE: Don't forget to allow VcXsrv in the Windows firewall settings. To warranty that the “ Disable access control” will be always checked, save the configuration and always launch VcXsrv using the configuration file ( config.xlaunch) : The first step is to install the third-part display manager called VcXsrv Windows X Server available at:ĭuring setup is important to disable the access control to avoid the permission denied error when trying to run a GUI application: I am using the VcXsrv Windows X Server that is open-source and is frequently update. The X server is a provider of graphics resources and keyboard/mouse events. Kali App available on Microsoft Store (free).X410 App available on Microsoft Store (paid app). It will be demonstrated the three ways to run the Linux GUI Apps on Windows 10 through: Using WSL2 in a Docker Linux container on Windows to run a Minecraft Java Server If you want to know how to install WSL on Windows 10, please check the following post: It is possible to run graphical applications from Ubuntu, for that purpose you need to install Xming X Server for Windows.In this post I will demonstrate how to run Linux GUI (Graphical User Interface) applications on Windows Desktop platform.įor now, it is necessary to install a third-party App to run the GUI Apps, but Microsoft announced on //build 2020 that they will release soon an improvement that will not require any third-party component to run Linux GUI Apps on Windows Desktop. You’ll find the Ubuntu bash under Bash in the Windows Command prompt: Last, run lsxrun /install in the Windows Command Prompt to install Ubuntu Bash, without requiring the activation of the Windows Store of applications. Open activate or desactivate Windows features panel:Įnable the “Windows Subsystem for Linux” optional feature (you can also enable the feature with Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux in PowerShell as administrator). Second, in Settings > Applications > Applications and features, click on Programs and features, Install Ubuntu Shellįirst, in Settings > Update and security > For developers, activate Developer mode: In this tutorial, I’ll give you the command to install and use Ubuntu shell on a typical enterprise Windows computer. It is named Windows Subsystem for Linux (WSL). In Windows 10, it is now possible to run Ubuntu Bash shell, without dual boot nor virtual machine, directly using the Windows kernel’s new properties. Configure Windows 10 for Ubuntu and server X
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |