Getting started on Windows
Contents
Windows Subsystem for Linux (WSL)
Installing
https://docs.microsoft.com/en-us/windows/wsl/install-win10
Windows Terminal
Windows Terminal is a nicer command line interface for Windows than the default Power Shell program.
Windows terminal can be installed through the Windows app store, further details at https://github.com/microsoft/terminal/blob/main/README.md
X11
In order to show remote windows from Gadi on your own screen you'll need an X11 server program running on your computer.
If X11 isn't running, you will get errors when starting programs that bring up a new window, e.g:
saw562@gadi-login-04 ~ $ xclock
Error: Can't open display:
There are a few different X11 server programs available for Windows, including:
* https://sourceforge.net/projects/vcxsrv/
VSCode & Power Shell SSH
VS Code is a nice code editor that can run on Windows, Mac and Linux. You can edit code locally, or use plugins to remotely connect to servers over SSH. It also integrates with WSL, allowing you to edit code in the Linux environment.
Windows includes its own version of SSH that you can use directly from Power Shell. Visual Studio Code can use this to connect to Gadi from your Windows computer. You will need some special options when creating a SSH key with Power Shell SSH:
ssh-keygen -t ecdsa -b 521 -f .ssh/id_ecdsa
You can also use the Power Shell SSH to connect to Gadi, bypassing WSL, but that may have problems running X11 windows
https://code.visualstudio.com/