Xming vs vcxsrv
Here is Firefox running on my machine on Xfce and WSL:
#Xming vs vcxsrv install
Open the Terminal application, from the Xfce bottom panel, and write: 1 sudo apt install firefox I suggest to install Firefox if you need a Linux web browser. The default Xfce browser doesn’t seem to run under WSL. Keep in mind that running graphical Linux applications is not officially supported by Microsoft, this means that if you find an error you are on your own. After reboot, start bash and XLaunch as described above. This happens only the first time you run VcXsrv, after a fresh installation. You can stop it from the Windows task manager or simply restart your computer. This usually means that the VcXsrv installer started a background VcXsrv process at the end. Some readers reported an error message for the first run of the system, something about VcXsrv fatal error. Here is a screenshot of the system running on my machine: Now, in the Bash console window, write: 1 xfce4-session On the Extra settings screen, check third option Disable access control: On the next screen, keep the default settings: Download and start the installer, you can safely accept the default settings.Īfter installation, start the XLaunch program and check One Large Window: I suggest VcXsrv which works well with WSL. Next, you will need to install an X server for Windows. Save the modified file by pressing CTRL+X and answering Y when asked if you want to save the file. bashrc in nano and you can scroll to the end of the file and write: 1 export DISPLAY =:0.0 I suggest to use vim or nano, e.g.: 1 cd ~ 2 nano. There are a few text editors that work under WSL. From my experience, Xfce works reasonably well with WSL: 1 sudo apt install xfce4 First step is to install a window manager. However, you can install graphical Linux applications and run these under WSL if you have an X server like VcXsrv or Xming, on your Windows machine.Īssuming that you have a working WSL installation, start Bash on Ubuntu on Windows, or open a Command Prompt and type bash in it. Officially, at the time of this writing, WSL supports only command-line applications.
#Xming vs vcxsrv how to
In my previous article, I’ve shown you how to install WSL, the Windows System for Linux, on a fresh Windows 10 Creators Update. Solarian Programmer My programming ramblings Home Archives Contact Privacy Using the Windows Subsystem for Linux with Xfce 4 Posted on Apby Paul