Setting GUI on wsl2

4/15/2022 docker

# Điều kiện

  • Windows 10, 11
  • Cài wsl2 bản mới nhất
  • Cài Docker

# Setting

$ echo `export DISPLAY="`grep nameserver /etc/resolv.conf | sed 's/nameserver //'`:0"` >> ~/.profile
# start Xlaunch application
$ xeyes
1
2
3
Last Updated: 4/15/2022, 3:31:21 AM