TOOL » WINDOWS

Xorg

X server

Choose one of the bellow.

  • VcXsrv (recommended)
  • Xming

Setup

If only a program is going to be launched (no window manager), choose Multiple windows. If a Linux window manager is going to be used, choose Fullscreen, One large window or One window without titlebar.

Here are some parameters that may be interesting to use:

ParameterDescription
-xkblayout jpSet japanese keyboard layout.
-keyhookGrab special keypresses like Alt-Tab or the Menu key.
-acDisable access control restrictions. A must have for WSL2.

Display

Open Windows Powershell and add the DISPLAY variable:

powershell
[System.Environment]::SetEnvironmentVariable("DISPLAY", "localhost:0", "User")

SSH

Install dbus-x11 in the remote server. When using ssh -Y X11 forwarding must work.