Oct 12, 2019

x11 forwarding for Microsoft Windows and GitBash

1. Install Xming. Then, start the Xming X server.

2. Open GitBash.


3. Export display environment on the bash command.
export DISPLAY=localhost:0


4. ssh to the target machine with x11 forwarding enabled
ssh -XY username@remote.host

5. Try your x11 forwarding by running an application with GUI, such as gedit.


Enjoy your X window.

Picture: Sunset at the Gull Lake August 2017

No comments:

Post a Comment