![]() 2311 or higher, which currently means installing KB5020030. Windows 10 users will need to be on a build ending in. Prior to 1.0.0, this feature was limited to Windows 11 users. With the release of WSL 1.0.0 (WSL via Microsoft Store application), both Windows 10 and Windows 11 users have full access to WSLg, which allows Linux GUI applications (X or Wayland) to run directly on WSL2 with no additional configuration. With that in mind, the information below is currently mostly copied from my Super User answer to the question above. (Ask Ubuntu) What's the easiest way to run GUI apps on Windows Subsystem for Linux?.(Ask Ubuntu) Running GUI apps under WSL. ![]() (Super User) How to run GUI apps with Windows Subsystem for Linux.It's always possible for a better answer to come along in the future. I recommend checking Super User or Ask Ubuntu for more on-topic and still-open questions on this topic. Keep in mind, though, that because this question is closed and off-topic here on Stack Overflow, eventually the answers here may become stale, since no new answers can be posted. Updating my answer with more recent information than was available at the time the question was originally asked. # In WSL1 the DISPLAY can be the localhost address ( and already mentioned this) export DISPLAY=$(grep nameserver /etc/nf | awk ''):0.0 route.exe print shows the network routing configuration in the Windows hostīased on the Microsoft documentation, you may set the DISPLAY variable checking the nameserver in the /etc/nf file.ipconfig.exe shows the all the IP configuration in the Windows host.cat /etc/nf shows the IP address of the eth0 interface in Windows.You may run the following commands in your WSL Linux: There are many ways to determine the IP addresses in the Windows host. ![]() To access networking apps running on the Windows Host you must use the Windows IP address.Ĭhecking the IP address of the Windows host
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |