{"id":222,"date":"2017-03-06T00:34:35","date_gmt":"2017-03-06T00:34:35","guid":{"rendered":"http:\/\/linux.suriyasuneel.com\/?p=222"},"modified":"2017-03-06T00:34:35","modified_gmt":"2017-03-06T00:34:35","slug":"gitbash-xming-on-windows","status":"publish","type":"post","link":"http:\/\/linux.suriyasuneel.com\/?p=222","title":{"rendered":"GitBash XMing on Windows"},"content":{"rendered":"<p>GitBash and XMing are the easiest way to have X11 forwarded from your linux machine to your windows machine. Gone are the days when you install cygwin and related items just so that you can have linux functionalities in the windows machine.<\/p>\n<h3>Steps<\/h3>\n<ol>\n<li>First install GitBash<\/li>\n<li>Then install XMing<\/li>\n<li>open GitBash and make sure that the DISPLAY is setup<\/li>\n<\/ol>\n<h3>How to setup display<\/h3>\n<p>To forward X11 you call<\/p>\n<pre>ssh -Y username@server<\/pre>\n<p>Also you have to call<\/p>\n<pre>export DISPLAY=localhost:0.0<\/pre>\n<p>You can also set that in the .bashrc file so that everytime you open the gitbash that file is executed and the variable is set<\/p>\n","protected":false},"excerpt":{"rendered":"<p>GitBash and XMing are the easiest way to have X11 forwarded from your linux machine to your windows machine. Gone are the days when you install cygwin and related items just so that you can have linux functionalities in the windows machine. Steps First install GitBash Then install XMing open GitBash and make sure that [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"_links":{"self":[{"href":"http:\/\/linux.suriyasuneel.com\/index.php?rest_route=\/wp\/v2\/posts\/222"}],"collection":[{"href":"http:\/\/linux.suriyasuneel.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/linux.suriyasuneel.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/linux.suriyasuneel.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/linux.suriyasuneel.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=222"}],"version-history":[{"count":1,"href":"http:\/\/linux.suriyasuneel.com\/index.php?rest_route=\/wp\/v2\/posts\/222\/revisions"}],"predecessor-version":[{"id":223,"href":"http:\/\/linux.suriyasuneel.com\/index.php?rest_route=\/wp\/v2\/posts\/222\/revisions\/223"}],"wp:attachment":[{"href":"http:\/\/linux.suriyasuneel.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=222"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/linux.suriyasuneel.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=222"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/linux.suriyasuneel.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=222"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}