I have installed windows 10 (b.1703) creators update recently and I am using ubuntu subsystem(WSL).There I have installed Visual Studio Code successfully. Problem is that any GUI elements required application cannot be launched(no GUI will be elements displayed reason may be WSL has no direct Graphic driver support).

VSCOE Launch

gEdit Launch

I wanted to know How to provide graphic driver support to WSL in order to facilitate GUI applications? without installing 3rd party software such as XMing-Xserver, putty etc.

Else do we have any other mechanism to achieve it? Only modifying Ubuntu(Linux subsystem) side? Other than switching to Windows 10 Insider preview builds?


Nowadays, the best option is to use a GUI in WSL is to install X Window software and connect to the Linux in WSL.

Note that the linux kernel in the WSL is not the same kernel you use in a bare-metal installation. The NVIDIA drivers do not work in WSL. If you are using Chrome or some window manager, you must configure them to run without using GPUs or Graphical acceleration.

Recently, some developers created LoWe - Linux on Windows extender. It is able to display the WSL UI without a third party X Window. It exports a Linux framebuffer and displays the UI in a Window. However, even using this option you cannot use the GPU neither.

  • Lowe is an experimental implementation and it is not recommended for production.

You don't need putty on local computer, because you have bash window. You need X server (Xming...) to launch gedit. Code Writer fails to launch at this moment. Graphics not supported on WSL. I use firefox with success.

  • me also successful on that :) .. but I think WSL still has not been facilitated with GPU driver support across Windows 10 boundary I guess.WSL still cannot carry out direct commnunication with graphic driver – Buddhika Chaturanga Feb 21 '18 at 8:57

If you want GUI support in WSL with no 3rd party installers for graphics rendering, xWSL seems to satisfy your requirement:

It downloads Ubuntu and installs/configures XRDP.
Upon completion of the installer it leaves an .RDP file on your desktop that you can just double-click to gain access to the Linux desktop (XFCE4 in this case.)

  • xWSL Desktop Screenshot:

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.