Skip to content
Sascha Sauermann edited this page Jul 24, 2020 · 3 revisions

WSL

WSL directories in Windows

%localappdata%\lxss

Inkscape in WSL1 and Ubuntu >= 19.10

(For example when using svg package in LaTex)

https://gitlab.com/inkscape/inkscape/-/issues/1420

Error: Wrong __data_start/_end pair

Solution: Set environment variable _INKSCAPE_GC=disable

WSL2 Differences

XServer

Until the "DirectX display driver" is available in the WSL2 kernel, an XServer is still necessary for GUI applications.

WSL2 has a different ip than the Windows host and thus needs special settings for the XServer

  • Export display with host ip e.g. in .bashrc export DISPLAY=$(grep -oP "(?<=nameserver ).+" /etc/resolv.conf):0
  • Launch XServer in windows without access controll (for VcXsrv the -ac parameter)
  • Allow connections from WSL subnet in Windows firewall

Clone this wiki locally