jdhao / jdhao.github.io

My personal blog: https://jdhao.github.io/
24 stars 6 forks source link

2018/03/02/Windows-connect-server-x11-with-gitbash/ #72

Open utterances-bot opened 2 years ago

utterances-bot commented 2 years ago

Set up X11 Forwarding with Git for Windows (git-bash) - jdhao's digital space

As I have posted earlier, Cmder is a better option if you use Windows command line frequently. The full installation of Cmder comes with Git for Windows, which is handy to provide a Linux-like environment. In this post, I will write about how to use Git for Windows to connect to a remote CentOS server and set up X11 forwarding to use the GUI applications on that server.

https://jdhao.github.io/2018/03/02/Windows-connect-server-x11-with-gitbash/

in3omnia commented 2 years ago

Configure ssh

For Cmder, add following options in cmder\config\user_profile.cmd:

set "DISPLAY=localhost:0.0"

Restart or create a new console in Cmder.