Skip to content

Instantly share code, notes, and snippets.

@fujii
Last active August 30, 2018 13:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fujii/bb60dcfdb3dfb77a82f51f8aa5a751db to your computer and use it in GitHub Desktop.
Save fujii/bb60dcfdb3dfb77a82f51f8aa5a751db to your computer and use it in GitHub Desktop.
export SHELL=zsh
export DISPLAY=:0
export LIBGL_ALWAYS_INDIRECT=1
cd
xrdb ~/.Xresources
xterm -ls
var shell = new ActiveXObject("WScript.Shell");
shell.Run("wsl ~/.xstart", 0, true);
<?xml version="1.0" encoding="UTF-8"?>
<XLaunch
WindowMode="MultiWindow"
ClientMode="NoClient"
LocalClient="True"
Display="0"
RemoteProtocol=""
LocalProgram=""
RemoteProgram=""
RemoteHost=""
RemoteUser=""
XDMCPHost=""
XDMCPBroadcast="False"
XDMCPIndirect="False"
Clipboard="True"
ExtraParams="-listen tcp"
Wgl="True"
DisableAC="False"
XDMCPTerminate="False"
SSHKeyChain="False"
SSHTerminal="True"
ExtraSSH=""
/>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment