Posts

Showing posts with the label Linux
 This tutorial is about properly setting up WSL2 X11 forwarding on Windows and Linux distro Add the following to your ~/.bashrc :  export DISPLAY=$(awk '/nameserver / {print $2; exit}' /etc/resolv.conf 2>/dev/null):0 export LIBGL_ALWAYS_INDIRECT=1 Enable Public Access on your X11 server for Windows.* Add a separate inbound rule for TCP port 6000 to the windows firewall in order to allow WSL access to the X server, as described by the wsl-windows-toolbar-launcher people. On the Ubuntu Wiki page about WSL you can already find a configuration adapted for WSL2 under Running Graphical Applications . A similar configuration is also suggested by the above mentioned Reddit User, who also contributes another part of the solution: Enable Public Access on the X11 server under Windows.
On Windows 10, it is possible to upgrade the Windows Subsystem for Linux platform to version 2, this included the already installed Distributions, and in this article are the steps required to convert to WSL2. The Windows Subsystem for Linux 2 (WSL2) is an updated version of the implementation that uses a very light virtual machine instead of a direct translation between both operating systems, allowing for noticeable improvements in performance and complete call compatibility support. In this article are the steps to upgrade WSL to WSL2 and convert Linux distros to version 2 on Windows 10.   Download this WSL2 kernel update (required  Install the downloaded file   Open Start. Run PowerShell in Administrative Option  Type the following command to set Windows Subsystem for Linux 2 your default architecture for new distros you’ll install and press Enter : wsl --set-default-version 2    Type the following command to get a list of all the distros ins...