famelis / wsl2-x11

Linux X11 WSL2 apps integration with native X11 server on Microsoft Windows 10 , version 2004
MIT License
27 stars 3 forks source link

bashrc file. #1

Open serviteur opened 4 years ago

serviteur commented 4 years ago

Hi Famelis,

In this link: https://github.com/famelis/wsl2-x11 You said:

Prerequisites

Install WSL2 and the Debian distribution.

Update Debian and install kde-desktop, net-tools, dbus, dnsutils etc.

Install VcXsrv Windows X Server in the default directory "C:\Program Files\VcXsrv". If you install it in another directory then you have to update the install_files.sh below, before the installation.

After having carried out all the prerequisites above, should we then create an entry in the .bashrc file like this:

export DISPLAY_NUMBER="0.0" export DISPLAY=$(grep -m 1 nameserver /etc/resolv.conf | awk '{print $2}'):$DISPLAY_NUMBER

balloch commented 4 years ago

yes