... | ... | @@ -4,11 +4,29 @@ |
|
|
|
|
|
The first thing is to install the ubuntu environment in Windows by following these instructions:
|
|
|
* https://docs.microsoft.com/en-us/windows/wsl/install-win10
|
|
|
After installation be carefull to do:
|
|
|
```shell
|
|
|
apt update
|
|
|
apt full-upgrade
|
|
|
```
|
|
|
|
|
|
Then you can, optionally install a graphical server for you subsystem using either:
|
|
|
* [VcXsrv](https://sourceforge.net/projects/vcxsrv/) (for free)
|
|
|
* [VcXsrv](https://sourceforge.net/projects/vcxsrv/) (for free)
|
|
|
Here you'll need to add to the ~/.bashrc file
|
|
|
```
|
|
|
export DISPLAY=$(awk '/nameserver / {print $2; exit}' /etc/resolv.conf 2>/dev/null):0.0
|
|
|
export LIBGL_ALWAYS_INDIRECT=1
|
|
|
```
|
|
|
* [Xming](http://www.straightrunning.com/XmingNotes/) (for free)
|
|
|
Here you'll need to add to the ~/.bashrc file
|
|
|
```
|
|
|
export DISPLAY=$(awk '/nameserver / {print $2; exit}' /etc/resolv.conf 2>/dev/null):0.0
|
|
|
```
|
|
|
* [X410](https://token2shell.com/x410/) (not free but more efficient)
|
|
|
Here you'll need to add to the ~/.bashrc file
|
|
|
```
|
|
|
export DISPLAY=$(awk '/nameserver / {print $2; exit}' /etc/resolv.conf 2>/dev/null):0.0
|
|
|
```
|
|
|
|
|
|
Then in an ubuntu 20.04 terminal run the following commands:
|
|
|
|
... | ... | |