You are currently viewing WSL 2 Vivado Setup with GUI Display and USB JTAG Drivers

WSL 2 Vivado Setup with GUI Display and USB JTAG Drivers

Running Xilinx Vivado inside Ubuntu under Windows Subsystem for Linux (WSL 2) delivers Linux build speed and clean shell automation without leaving Windows. Because WSL 2 executes inside a lightweight virtual machine, hardware programmers require explicit USB/IP passthrough from Windows to the Linux kernel.

Interactive WSL 2 Display & USB JTAG Command Builder
WSL 2 + Vivado

Generate the exact Windows PowerShell and Ubuntu WSL 2 commands for passing your Xilinx FPGA cable over usbipd-win and launching Vivado GUI cleanly.

1. Windows PowerShell (Administrator)
2. Ubuntu WSL 2 Terminal

GUI GRAPHICS SERVER SETUP: WSLG VS VCXSRV

On Windows 11, native WSLg automatically exposes graphical windows over Wayland and Xwayland with zero third party software required. On Windows 10 systems without WSLg, launch VcXsrv (XLaunch) configured for Multiple Windows with Disable access control checked, then export your Windows host resolver IP as DISPLAY before launching Vivado.

ATTACHING XILINX JTAG ADAPTERS OVER USBIPD

  1. Install usbipd-win on Windows (winget install dorssel.usbipd-win) so physical USB buses can be shared cleanly.
  2. Run usbipd list in an elevated PowerShell window to locate your Digilent or Xilinx JTAG adapter BUSID.
  3. Bind the device once (usbipd bind –busid X-Y) and attach it to WSL (usbipd attach –wsl –busid X-Y).
  4. Verify detection inside Ubuntu using lsusb and install Vivado cable drivers under data/xicom/cable_drivers/lin64/install_script/install_drivers.

Leave a Reply