Skip to content

Instantly share code, notes, and snippets.

View indika-dev's full-sized avatar

Stefan Maaßen indika-dev

View GitHub Profile
@indika-dev
indika-dev / VcXserv over VSOCK connection.md
Last active January 18, 2022 21:15
start VcXserv on a VSOCK connection. Tested with VcXserv 1.20.14.0 and Ubuntu 20.04 WSL2. On Windows, you must be local admin.
  • download, compile and install socat 1.7.4.x (http://www.dest-unreach.org/socat/)
  • append startXonVsock to ~/.bashrc or put it in ~/.bashrc.d
  • after login in WSL2, run startX.(cmd|ps1) in Windows to start the VcXserv
  • run X session in WSL2 (e.g. MATE: mate-session > /dev/null 2>&1)
  • happy clicking :)