{"id":2294,"date":"2015-10-14T17:03:17","date_gmt":"2015-10-14T15:03:17","guid":{"rendered":"https:\/\/adrhc.go.ro\/wordpress\/?p=2294"},"modified":"2015-11-08T15:06:02","modified_gmt":"2015-11-08T13:06:02","slug":"ubuntu-x11-forward-to-putty","status":"publish","type":"post","link":"https:\/\/adrhc.go.ro\/blog\/ubuntu-x11-forward-to-putty\/","title":{"rendered":"Ubuntu: X11 forward to putty"},"content":{"rendered":"<pre>\r\n<b>Installation<\/b>\r\ndownload http:\/\/cygwin.com\/setup-x86_64.exe\r\ninstall X11 package\r\n\r\n<b>configure \/etc\/ssh\/sshd_config<\/b>\r\nsudo grep -nri X11 \/etc\/ssh\r\nX11Forwarding yes\r\nX11DisplayOffset 10\r\n\r\n<b>Cygwin-X config<\/b>\r\nmake sure XWin Server shortcat contains the command below:\r\nF:\\cygwin64\\bin\\run.exe --quote \/usr\/bin\/bash.exe -l -c \"cd; \/usr\/bin\/startxwin -- -listen tcp\"\r\n\r\n<b>configure putty<\/b>\r\n- goto Connection -> SSH -> X11\r\n- check \"Enable X11 forwarding\", save putty session\r\n- fill in \"X display location\": localhost:0\r\n- start putty\r\n- start from windows start menu: Cygwin-X -> XWin Server (this will create windows - .Xauthority)\r\n- close putty (won't close till closing XWin Server too!)\r\n- goto again Connection -> SSH -> X11\r\n- fill in \"X authority file for local display\" with the local windows-path (e.g: F:\\cygwin64\\home\\******.*****\\.Xauthority), save putty session\r\n- close putty\r\n\r\n<b>run it (order below is important)<\/b>\r\n- start from windows start menu: Cygwin-X -> XWin Server\r\n- start putty\r\n\r\n<b>run it (only when having throubles)<\/b>\r\n- start putty\r\n- xauth list\r\n- run \"xauth add\" with any line from \"xauth list\" output (e.g. xauth add adr-desktop\/unix:11  MIT-MAGIC-COOKIE-1  erhe5j56jefhere4hr4j5jrthdte4yergerher)\r\n- close putty (won't close till closing XWin Server too!)\r\n- start from windows start menu: Cygwin-X -> XWin Server\r\n- start putty\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Installation download http:\/\/cygwin.com\/setup-x86_64.exe install X11 package configure \/etc\/ssh\/sshd_config sudo grep -nri X11 \/etc\/ssh X11Forwarding yes X11DisplayOffset 10 Cygwin-X config make sure XWin Server shortcat contains the command below: F:\\cygwin64\\bin\\run.exe &#8211;quote \/usr\/bin\/bash.exe -l -c &#8220;cd; \/usr\/bin\/startxwin &#8212; -listen tcp&#8221; configure putty [&hellip;]<\/p>\n<div class=\"link-more\"><a href=\"https:\/\/adrhc.go.ro\/blog\/ubuntu-x11-forward-to-putty\/#more-2294\" class=\"more-link\">Continue reading &#10142; <span class=\"screen-reader-text\">Ubuntu: X11 forward to putty<\/span><\/a><\/div>","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8],"tags":[],"class_list":["post-2294","post","type-post","status-publish","format-standard","hentry","category-howto"],"_links":{"self":[{"href":"https:\/\/adrhc.go.ro\/blog\/wp-json\/wp\/v2\/posts\/2294","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/adrhc.go.ro\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/adrhc.go.ro\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/adrhc.go.ro\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/adrhc.go.ro\/blog\/wp-json\/wp\/v2\/comments?post=2294"}],"version-history":[{"count":0,"href":"https:\/\/adrhc.go.ro\/blog\/wp-json\/wp\/v2\/posts\/2294\/revisions"}],"wp:attachment":[{"href":"https:\/\/adrhc.go.ro\/blog\/wp-json\/wp\/v2\/media?parent=2294"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/adrhc.go.ro\/blog\/wp-json\/wp\/v2\/categories?post=2294"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/adrhc.go.ro\/blog\/wp-json\/wp\/v2\/tags?post=2294"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}