Aim
- This article talks about
- How to activate Window Subsystem for Linux(WSL).
- How to use linux gui application
Activate WSL
- Control panel > Programs and Features > Turn Windows features on or off > Windows Subsystem for Linux
- Restart
- Install linux distribution from Windows store
- Launch and wait for installation finished
- After that you can use it as a normal linux as soon as you find any problem XD
- Reference
Use Linux gui applicaion - WSL2
- You need X server for those linux gui application
- If the font size is too small, you can add flag --dpi 108 -ac
- -ac : disable the access control
- Install application that have gui for demo
sudo apt-get install git gitk git-core vim-gtk
Point to X serverexport DISPLAY=<IP to your windows host, example:192.168.1.10>:0
Run demo application
Use Linux gui applicaion - WSL
- You need X server for those linux gui application
- If the font size is too small, you can add flag --dpi 88
- Install application that have gui for demo
sudo apt-get install git gitk git-core vim-gtk
Point to X server
export DISPLAY=:0
Run demo application
Reference
Mount drive on WSL
mkdir /mnt/d
sudo mount -t drvfs d: /mnt/d
Mount network drive
mkdir /mnt/share
sudo mount -t drvfs '\\192.168.0.101' /mnt/share
Reference
Speed up WSL
沒有留言:
發佈留言