


Make WSL 2 your default: wsl -set-default-version 2.(You might get prompted to install WSL 2 Linux kernel update.If you have already a WSL 1 distro installed, you can convert it to WSL 2: wsl -set-version 2.

If you have already a distro installed you can see an list and version using wsl -l -v.I tried it for Ubuntu 18.04 - But I get stuck on the Error WebEngineContext used before QtWebEngine::initialize() or OpenGL context creation failedĭetailed Error WebEngineContext used before QtWebEngine::initialize() or OpenGL context creation failed.įailed to create OpenGL context for format QSurfaceFormat(version 2.0, options QFlags(), depthBufferSize 24, redBufferSize -1, greenBufferSize -1, blueBufferSize -1, alphaBufferSize -1, stencilBufferSize 8, samples 0, swapBehavior QSurfaceFormat::DefaultSwapBehavior, swapInterval 1, colorSpace QSurfaceFormat::DefaultColorSpace, As of now I only managed to get the GUI of RStudio running in Pengwin.However compared to other X systems, it works very well with Hi-DPI systems, and it offers different displaying modes. Windows 7 or higher (which allows WSL 2).No, you will get cannot execute binary file: Exec format error when you try to run rstudio command. Use RStudio within Windows Subsystem for Linux 2 (WSL 2)
