Skip to content

Instantly share code, notes, and snippets.

@rsenden
rsenden / EclipseOnWSL2Ubuntu.md
Last active August 4, 2024 01:53
Run Eclipse in WSL2

This gist provides a summary on how to accomplish the following tasks:

  • Access WSL2 using putty
  • Run Eclipse on WSL2 Ubuntu, displaying the Eclipse UI on VcXsrv running on Windows
    • Connecting to VcXsrv directly from WSL2
    • Using SSH X11 forwarding, with network connection initiated from Windows to WSL2 Ubuntu, which is particularly useful on company laptops that refuse all incoming network connections on Windows.
  1. Prerequisites:
    • WSL2 up and running
    • Putty, Plink & PuttyGen installed on Windows