git-cola in Windows 7

I have Windows 7 on my computer, but needed to run a git gui tool for our project. Searching on Google I found several, but they all were software for Linux. We have plenty of Linux Redhat servers, but no one running X window.

I installed then a Xming X server ( on my Windows 7 computer, and by configuring Putty (also a Windows program) and the sshd_config on the Linux server I could run git-cola and other Linux software in my Windows enviroment:


Putty configuration:

Connection -> SSH -> X11:

Enable X11 forwarding = true

X display location: location:0.0


Linux Redhat server configuration:

X11Forwarding yes
X11DisplayOffset 10
X11UseLocalhost yes


Also I noticed if I changed to another user in Putty (SSH) with:

sudo su –

then I wouldn’t be able to forward any X program. So, just after loggin in to the server in Putty with SSH, I had to start the program right away:







Leave a Reply

Your email address will not be published. Required fields are marked *