Using X windows with ssh

Fri, 29 Dec 2023 16:09:05 GMT

Occasionally there is a need to use an X windows program with ssh. However these programs will fail with the message cannot open display:
But wait there is a way! simply use the -X option with your ssh command and if your local machine has Xwindows capability then you can get the window for the program.

Using Xwindows from Microsoft windows:

This used to be a real headache. all kinds of esoteric stuff needed to be installed but nowdays you can just install linux subsystem for windows and you can display those xwindows screens with no issues.