Getting graphic apps work with wsl2

Download xlaunch: https://sourceforge.net/projects/vcxsrv/

Open xlaunch: 

Run command in wsl2: 

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

Open your app and enjoy :))

 



Copyright © 2013-present Magento, Inc. All rights reserved.