SSH X server on Windows

Installation Install VcXsrv 1 scoop install vcxsrv Setup xLauncher 1 xlaunch.exe config.launch 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 <?xml version="1.0" encoding="UTF-8"?> <XLaunch WindowMode="MultiWindow" ClientMode="NoClient" LocalClient="False" Display="-1" LocalProgram="xcalc" RemoteProgram="xterm" RemotePassword="" PrivateKey="" RemoteHost="" RemoteUser="" XDMCPHost="" XDMCPBroadcast="False" XDMCPIndirect="False" Clipboard="True" ClipboardPrimary="True" ExtraParams="-ac -nowgl" Wgl="True" DisableAC="False" XDMCPTerminate="False" /> Add env variable to PowerShell PROFILE 1 2 # vi $PROFILE, and add below line $env:DISPLAY='localhost:0....

October 14, 2021 · 1 min · 85 words · Wesley Chen

My Bash/Zsh-like PowerShell Journey

TL;DR This is a note that I found out Microsoft PowerShell can act like Bash/Zsh which I much familiar with. Because of the work, pretty much whole operating system move to windows. It is so much pain to work without using any shell. The main reason is that I so much used to use (neo)vim as my code editor. But luckily (neo)vim built for windows (phew~). Ok, back to the title, this is a step by step note that I dig into PowerShell and Windows....

October 13, 2021 · 2 min · 308 words · Wesley Chen