Try โ€‚โ€‰HackMD

Linux Tools for Windows Users

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More โ†’
โ€“- Basic tools โ€“-

Over the years, Windows became more and more friendly with respect to interaction with Linux environment. Recent implementation of "Windows Subsystem for Linux - version 2" WSL2 is a significant step toward this direction and perhaps might be one of the best approach in the near feature.

Despite that, there are tools that have became essential over the time and are more than enough for the purpose of effective interaction with Linux.

Advise:

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More โ†’

  • If you are a beginner - install and use MobaXterm.
  • If you are familiar with Linux in general, perhaps, the most flexible setups is WSL2 + X11 server.

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More โ†’
MobaXterm

Enhanced terminal for Windows with X11 server, tabbed SSH client, network tools and much more - it has everything you need to start.

YouTube - MobaXTerm intro

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More โ†’

Advantages
  • All tools in one place, simple installation, ready to go.
  • X11 server with most important configurations in the GUI!!!
  • Available as portable installation.
  • One can install additional packages.
Disadvantages
  • Not the best way to transfer large files - WinSCP is one of the right choices.
  • Tools might get names with .exe at the end, that might need fixes to your bash scripts to be able to work.

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More โ†’
WinSCP

With WinSCP you can copy file between a local computer and remote servers using FTP, FTPS, SCP, SFTP, WebDAV or S3 file transfer protocols. WinSCP includes also PuTTY in the installation.

YouTube - How to Use WinSCP FTP Client

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More โ†’

Advantages

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More โ†’
Putty

Note: The PuTTY program is included in the WinSCP installation

Download and install the .msi package. If for some reason you are restricted and cannot use the installer - download the 64-bit executable putty.exe and pageant.exe and save it for convenience on your Desktop.

YouTube - PuTTY Tutorial for beginners

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More โ†’

Advantages
  • Perhaps the best lightweight SSH client around.
  • Excellent tool for port forwarding.

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More โ†’
GWSL

The Feature-Packed, Highly-Integrated Windows 10 XServer
GWSL automates the process of running X on top of WSL and over SSH:

  • It lets you easily run graphical Linux apps on Windows 10.
  • It lets you run graphical apps located on remote Linux machines.
  • It provides a simple UI for launching Linux apps, managing them graphically, and creating customized Windows shortcuts for them.
  • All this at the click of a button! No memorization of commands necessary. Easy!

Warning: Make sure you are not running multiple X servers (MobaXterm, VcXsrv, or GWSL) simultaneously, since they will conflict each other.

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More โ†’
Windows Terminal

The Windows Terminal is a modern, fast, efficient, powerful, and productive terminal application for users of command-line tools and shells like Command Prompt, PowerShell, and WSL.

If you need ssh only, this might be enough + some extras.


Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More โ†’
โ€“- Advanced tools โ€“-

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More โ†’
Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More โ†’
Windows Subsystem for Linux WSL2

Make sure you get WSL2 since the older version 1 is outdated. You get lightweight virtual Linux environment which is really capable in contrast to the old version. GWSL is designed and works very well with WSL 2 - one of the best combination to have Linux environment running on your Windows computer.

Alternatively, combined with X11 server ( VcXsrv Windows X Server or the built-in X11 server from MobaXterm )

YouTube - WSL 2: Getting started

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More โ†’


WSL2 with X11 MobaXterm

You need to set "on-demand" or "didsabled" /be careful/ for the "X11 remote access" or fiddle with xhost +ip_address.

WSL2 and X11 complications (solved with GWSL)

The WSL2 virtual machines are running into separate virtual network space and the default DISPLAY environment is not properly setup. The easiest way to get the virtual network adapter IP address (172.19.16.1 in this example) for your instance is via:

  • Windows power shell or Command Prompt
PS C:\> ipconfig.exe

Windows IP Configuration
...
Ethernet adapter vEthernet (WSL):

   Connection-specific DNS Suffix  . :
   Link-local IPv6 Address . . . . . : fe10::d03e:1243:9d6:b2df%65
   IPv4 Address. . . . . . . . . . . : 172.19.16.1
   Subnet Mask . . . . . . . . . . . : 255.255.240.0
   Default Gateway . . . . . . . . . :
  • From the WSL2 instance itself
$ip route
default via 172.19.16.1 dev eth0
172.19.16.0/20 dev eth0 proto kernel scope link src 172.19.27.121

Then the correct DISPLAY environment to export is:

export DISPLAY=172.19.16.1:0.0

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More โ†’
VirtualBox

VirtualBox is a powerful x86 and AMD64/Intel64 virtualization product for enterprise as well as home use.

As such, one can install fully virtualized Linux environment which gives you the closest Linux experience. Effectively you get access to real Linux environment while sharing the CPUs and reserve RAM on your computer.


Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More โ†’
โ€“- Other tools โ€“-

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More โ†’
VcXsrv Windows X Server

VcXsrv is an X Server for WinNT. In order to be able to start the graphical (GUI) version of programs (e.g. xstata = X window version of STATA) on Unix servers (e.g. of the bwHPC network) under Windows, you need an X server that is on your local Computer must be installed (e.g. for Putty, Kitty, Smartty or other ssh-forwarting or in Windows 10 as X-Server Host for Linux Subsystem's).

YouTube - Installing VcXsrv X Server

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More โ†’


Hint: use this settings to start the program
"C:\Program Files\VcXsrv\vcxsrv.exe" :0 -ac -terminate -lesspointer -multiwindow -clipboard -wgl -dpi auto

Keep in mind that -ac option disables the access control restrictions, which is a security concern.

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More โ†’
Opinion: The MobaXterm's build in X11 server is perfectly capable alternative.

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More โ†’
Cygwin

  • a large collection of GNU and Open Source tools which provide functionality similar to a Linux distribution on Windows.
  • a DLL (cygwin1.dll) which provides substantial POSIX API functionality.

Unless, you need explicitly Cygwin, MobaXterm will be more than an adequate replacement.


Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More โ†’
ThinLinc

ThinLinc is a software that enables organizations to implement a Linux server-based computing (SBC) infrastructure.

ThinLinc graphical connection user guide @UPPMAX


Contacts:

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More โ†’

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More โ†’

tags: UPPMAX, SNIC, User practices