{"id":345,"date":"2016-06-28T00:46:17","date_gmt":"2016-06-28T00:46:17","guid":{"rendered":"http:\/\/devsec.smham2.org\/?p=345"},"modified":"2016-06-28T00:46:17","modified_gmt":"2016-06-28T00:46:17","slug":"cygwinx-and-putty","status":"publish","type":"post","link":"https:\/\/devsec.smham2.org\/?p=345","title":{"rendered":"CygwinX and Putty"},"content":{"rendered":"<p>I recently installed Cygwin-X on my Windows 10 laptop.\u00a0 Problem was Putty with X11 forwarding was not working.\u00a0 It took some Google and trial and error, but the following needed to be done.\u00a0 Hope this helps you out:<\/p>\n<p><span style=\"text-decoration: underline;\"><strong>For Cygwin-X:<\/strong><\/span><\/p>\n<ul>\n<li>Edit the script that starts XWin Server<\/li>\n<li>(right-click on the shortcut in the Start Menu, select More &gt; Open File Location, right-click on XWin Server and select Properties)<\/li>\n<li>Add the addition in <strong><span style=\"color: #ff0000;\">Red<\/span><\/strong> to the Target\n<pre>C:\\cygwin64\\bin\\run.exe --quote \/usr\/bin\/bash.exe -l -c \"cd; exec \/usr\/bin\/startxwin --<span style=\"color: #ff0000;\"><strong> -multiwindow -listen tcp<\/strong><\/span>\"<\/pre>\n<\/li>\n<\/ul>\n<p><span style=\"text-decoration: underline;\"><strong>For Putty:<\/strong><\/span><\/p>\n<ul>\n<li>Under the X11 section, browse for the<strong> xauthority<\/strong> file located in your Cygwin home directory<\/li>\n<li>Select it and save the profile<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I recently installed Cygwin-X on my Windows 10 laptop.\u00a0 Problem was Putty with X11 forwarding was not working.\u00a0 It took some Google and trial and error, but the following needed to be done.\u00a0 Hope this helps you out: For Cygwin-X: Edit the script that starts XWin Server (right-click on the shortcut in the Start Menu, [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[],"class_list":["post-345","post","type-post","status-publish","format-standard","hentry","category-general"],"_links":{"self":[{"href":"https:\/\/devsec.smham2.org\/index.php?rest_route=\/wp\/v2\/posts\/345","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devsec.smham2.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devsec.smham2.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devsec.smham2.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/devsec.smham2.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=345"}],"version-history":[{"count":1,"href":"https:\/\/devsec.smham2.org\/index.php?rest_route=\/wp\/v2\/posts\/345\/revisions"}],"predecessor-version":[{"id":346,"href":"https:\/\/devsec.smham2.org\/index.php?rest_route=\/wp\/v2\/posts\/345\/revisions\/346"}],"wp:attachment":[{"href":"https:\/\/devsec.smham2.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=345"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devsec.smham2.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=345"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devsec.smham2.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=345"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}