![]() ![]() If you want to use something like VcxSrv to launch graphics applications from WSL2, you need to do so (using the configuration in this article, graphics applications running in WSL2 will have good support). Here you can uncomment export DISPLAY Also export DISPLAY Environment variable (I have commented it out by default because not everyone needs it). Scroll down to the end of this file and paste the following: export HOST_IP="$(ip route |awk '/^default/')"export PULSE_SERVER="tcp:$HOST_IP"#export DISPLAY="$HOST_IP:0.0" ![]() Still on WSL2, you still need to edit ~/.bashrc Edit the file with a text editor-using the following command, we will edit it with the Nano console editor: nano ~/.bashrc
0 Comments
Leave a Reply. |