![]() ![]() Windows and full compatibility without having to worry about Xservers,įirewalls, or anything like that. GUI Linux apps will have not only their own taskbar icons, but proper shadowed The WSL team is working on getting this feature built in! Soon, it looks like Well! Shortly before I finished writing all of this down, I found this here Once we do this, back in WSL, we can just run firefox, and voilà, it’s there! Heck, let’s run gedit too: Execute the following code inside your WSL terminal. Code Snippet 2 : Chocolatey command to install VcXsrv. The WSL2 virtual machine has its own network stack, it can retrieve its host IP through the /etc/nf file. After that we have to link the WSL instance to the remote display server, running on Windows. Code Snippet 1 : Command to retrieve host IP and set X display. Download it and install it on your host machine. If you’re curious, this video offers a good in-depth look at how WSL networking works. First of all we need a X11 Server for Windows. ![]() WSL 2 requires that we setup networking like we would another virtual machine. It’s as if there was an ethernet cable connected between Ubuntu and Windows. Our WSL instance isn’t connected to the local network directly, but rather through Windows using this virtualized ethernet adapter. ![]() WSL 2 has a virtualized ethernet adapter with its own unique IP address. You need to find “Xming X Server” on this list and make sure it’s allowed (checked) for a public network! Why does Xming need to communicate on public networks? This will show the list of apps and their connection permissions through private and public networks, as shown below:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |